开发者

mac mysql after reboot

开发者 https://www.devze.com 2023-02-07 02:54 出处:网络
after reboot I try to start using mysql on my mac (10.6.5), but I get can\'t connect to local mysql server through socket \' tmp mysql.sock\' 2

after reboot I try to start using mysql on my mac (10.6.5), but I get

can't connect to local mysql server through socket ' tmp mysql.sock' 2

I fix it with

cd /usr/local/mysql
 sudo echo
sudo ./b开发者_如何学JAVAin/mysqld_safe &
/usr/local/mysql/bin/mysql test

so my question (noob)... how to avoid having to type all that to start the mysql?? is there something I can do to start it easily? thanks!!!


There is a system preferences app you can download and install. It has an option to "start mysql on boot".

MySQL Preferences Pane

0

精彩评论

暂无评论...
验证码 换一张
取 消