【1】下载mysql
【2】编辑.bash_profile
vim ~/.bash_profile
添加内容:
export PATH=$PATH:/usr/local/mysql/bin
export PATH=$PATH:/usr/local/mysql/support-files
然后 :
source ~/.bash_profile
sudo mysql.server status
出现问题:
ERROR! MySQL is running but PID file could not be found
TODO
网友评论