Additional mysql path for Path

xiaoxiao2021-03-06  98

After installing MySQL, to add / usr / local / mysql / bin, modify the PATH path, you can use the following methods:

Temporary method

# echo $ PATH

# @ export path = $ PATH: / usr / local / mysql / bin

# echo $ PATH

The modifications will be lost each time you recover.

2. Long-lasting changes

# vi /root/.bashrc modifies this file

Question: I don't know how to change the / etc / profile file.

(Pluscript Path = $ PATH: / USR / LOCAL / mysql / bin)?

转载请注明原文地址:https://www.9cbs.com/read-105703.html

New Post(0)