Mad*_*pal 9 mysql amazon-ec2 bitnami mysql-python amazon-web-services
每次我重启MySQL服务器
bitnami@xxx:/$ sudo opt/bitnami/ctlscript.sh start server
Run Code Online (Sandbox Code Playgroud)
WWarning: World-writable config file '/opt/bitnami/mysql/my.cnf' is ignored
Warning: World-writable config file '/opt/bitnami/mysql/my.cnf' is ignored
121120 12:30:18 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'.
121120 12:30:18 mysqld_safe Starting mysqld daemon with databases from /opt/bitnami/mysql/data
121120 12:30:20 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/ip-10-136-14-170.pid ended
/opt/bitnami/mysql/scripts/ctl.sh : mysql could not be started
Run Code Online (Sandbox Code Playgroud)
服务器响应以下错误:
(2002,"无法通过socket连接到本地MySQL服务器'/tmp/mysql.sock'(2)")
请告诉我我必须做些什么来解决这个问题.
Mar*_*tin 27
如果mysql作为服务安装(大多数情况下),你可以做service mysqld restart
或/etc/init.d/mysqld restart
.
您也可以使用start
,stop
或reload
代替restart
.
归档时间: |
|
查看次数: |
36796 次 |
最近记录: |