over 7 years ago

ERROR : Can't connect to local MySQL server through socket '/tmp/mysql.sock'

透過下列指令重啟 mysql server

sudo /usr/local/mysql/support-files/mysql.server start


ERROR : ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'xxx'

登出 mysql

exit

以 root 權限重新登入 mysql

mysql -u root -p
← [Android 開發] Get image size from resource id Build ffmpeg on Mac OS 10.9 →
 
comments powered by Disqus