linux(centos) 下安装phpstudy 如何命令行进入mysql
大家讲道理
大家讲道理 2017-04-17 12:07:23
0
3
657

配置了phpstudy 可是进不去mysql
老是报-bash: mysqld: command not found

大神们帮帮忙吧 指点一下小弟~!!!

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
小葫芦

Under Linux, run /usr/local/mysql/bin/mysql -u root -p to enter

Peter_Zhu

Your mysqld is not in the environment variable PATH, give it a try with the full path.
If you are not sure of the full path, search with whereis mysqld.
If you can't find it anymore, use the find command to search.

黄舟

The solution is:

ln -s /phpstudy/mysql/bin/mysql /bin

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!