当前位置:网站首页>Add the compiled and installed Mysql to the path environment variable
Add the compiled and installed Mysql to the path environment variable
2022-04-23 03:39:00 【(~  ̄▽  ̄) ~ Phoenix Nirvana】
This is based on MySQL Installation by compiling and installing
mysql Compilation and installation
Here's the picture mysql Can pass systemctl Control command control switch service , But it doesn't work mysql command

vim /etc/profile

Finally add
.export PATH=/usr/local/mysql/bin:$PATH
(/usr/local/mysql/ Is my installation address . If the installation address is different, change it yourself )

Refresh profile
source /etc/profile

Take a look at the environment variables
echo $PATH

Add success
restart
systemctl restart mysql
Sign in
mysql -uroot -p1

My password here is 1, Modify the command according to your own situation
OK The test successfully entered mysql
版权声明
本文为[(~  ̄▽  ̄) ~ Phoenix Nirvana]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230336028402.html
边栏推荐
- Key point detection of human hand based on mediapipe
- Test questions and some space wars
- The art of concurrent programming (6): explain the principle of reentrantlock in detail
- Database - MySQL -- Navicat import SQL error 1067 - invalid default value for 'paydate‘
- Activity supports multi window display
- PyMOL usage
- ROS series (IV): ROS communication mechanism series (5): Service Communication Practice
- "Visual programming" test paper
- Test questions (2)
- Jupiter notebook modify configuration file setting startup directory is invalid
猜你喜欢

2022 group programming ladder simulation match 1-8 are prime numbers (20 points)

Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics

Mechanical design knowledge point planning

Use of rotary selector wheelpicker

Design and implementation of redis (5): master-slave replication strategy and optimization

深度學習筆記(二)——激活函數原理與實現

Digital image processing third edition Gonzalez notes Chapter 2

2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)

Wechat applet canvas draws a simple asymptotic color of the dashboard

Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
随机推荐
ROS series (I): rapid installation of ROS
Identifier, keyword, data type
Talent Plan 学习营初体验:交流+坚持 开源协作课程学习的不二路径
Detailed explanation on the use of annotation tool via (VGg image annotator) in mask RCNN
【微服务】(十)—— 统一网关Gateway
VS Studio 修改C语言scanf等报错
Use the thread factory to set the thread name in the thread pool
mui. Plusready does not take effect
Section 1 array and slicing in Chapter 6
What if you encounter symbols you don't know in mathematical formulas
(valid for personal testing) compilation guide of paddedetection on Jetson
MySQL zip installation tutorial
Visual programming -- how to customize the mouse cursor
对象和类的概念
Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics
STM32 advanced timer com event
Vs studio modifies C language scanf and other errors
PyMOL usage
Activity supports multi window display
A hundred dollars for a hundred chickens