当前位置:网站首页>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
边栏推荐
- Codeforces round 784 (Div. 4) (AK CF (XD) for the first time)
- ROS series (V): common commands in ROS
- 2022 group programming ladder game simulation L2-4 Zhezhi game (25 points)
- SQL learning record
- Websites frequented by old programmers (continuously updated)
- 51 single chip microcomputer: D / a digital to analog conversion experiment
- VS Studio 修改C语言scanf等报错
- Code forces round # 784 (DIV. 4) solution (First AK CF (XD)
- Unity basics 2
- Now is the best time to empower industrial visual inspection with AI
猜你喜欢

"Visual programming" test paper

ROS series (III): introduction to ROS architecture

Digital image processing third edition Gonzalez notes Chapter 2

C interface

MySQL zip installation tutorial

The art of concurrent programming (2): synchronized usage scenarios

L3-011 direct attack Huanglong (30 points)

2022 group programming ladder game simulation L2-4 Zhezhi game (25 points)

PYMOL-note

Section 1 array and slicing in Chapter 6
随机推荐
ROS series (III): introduction to ROS architecture
Variables, constants, operators
On the principle of concurrent programming and the art of notify / Park
C interface
C set
Visual programming -- how to customize the mouse cursor
Un aperçu des flux d'E / s et des opérations de fichiers de classe de fichiers
Three column layout (fixed width on both sides in the middle and fixed width on both sides in the middle)
第四次作业
L3-011 直捣黄龙 (30 分)
you need to be root to perform this command
Commonly used classes
Visual programming - drawing assignment
淺學一下I/O流和File類文件操作
Openvino only supports Intel CPUs of generation 6 and above
VS Studio 修改C语言scanf等报错
Unity knowledge points (common core classes)
A sword is a sword. There is no difference between a wooden sword and a copper sword
Common exceptions
Download and configuration of idea