当前位置:网站首页>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
边栏推荐
- 51 single chip microcomputer: D / a digital to analog conversion experiment
- Abstract classes, interfaces and common keywords
- Seekbar custom style details
- Unity knowledge points (ugui)
- VS Studio 修改C語言scanf等報錯
- Vs Studio modifie le langage C scanf et d'autres erreurs
- ROS series (IV): ROS communication mechanism series (3): parameter server
- Design and implementation of redis (6): how redis achieves high availability
- Codeforces round 784 (Div. 4) (AK CF (XD) for the first time)
- 深度學習筆記(二)——激活函數原理與實現
猜你喜欢
Install PaddlePaddle on ARM
Visual programming -- how to customize the mouse cursor
Common net HP UNIX system FTP server listfiles returns null solution.
"Visual programming" test paper
ROS series (IV): ROS communication mechanism series (3): parameter server
Unity games and related interview questions
Design and implementation of redis (2): how to handle expired keys
Instructions for fastmock
Visual programming - Experiment 1
Now is the best time to empower industrial visual inspection with AI
随机推荐
Digital image processing third edition Gonzalez notes Chapter 2
you need to be root to perform this command
Key point detection of human hand based on mediapipe
ROS series (I): rapid installation of ROS
String input problem
Applet - WXS
Unity knowledge points (ugui)
Cmake qmake simple knowledge
Leetcode 617 merge binary tree
Wechat applet cloud database value assignment to array error
2021-08-11
The content of the website is prohibited from copying, pasting and saving as JS code
C interface
7-3 poly width
Section 2 map and structure in Chapter 6
PYMOL-note
Design and implementation of redis (4): what is the event driver of redis
ROS series (II): ROS quick experience, taking HelloWorld program as an example
Test questions and some space wars
Three types of jump statements