Troubleshooting of MySQL errors: Difference between revisions

Jump to navigation Jump to search
m (Text replacement - "errerrors.blogspot.tw" to "errerrors.blogspot.com")
Line 321: Line 321:
* [http://dev.mysql.com/doc/refman/5.7/en/drop-user.html MySQL :: MySQL 5.7 Reference Manual :: 14.7.1.3 DROP USER Syntax]
* [http://dev.mysql.com/doc/refman/5.7/en/drop-user.html MySQL :: MySQL 5.7 Reference Manual :: 14.7.1.3 DROP USER Syntax]


== ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql.sock' ==
== ERROR 2002 (HY000): Cannot connect: SQLSTATE[HY000] [2002] ==
Condition on Cygwin terminal of Windows:
Condition on Cygwin terminal of Windows:
<pre>
<pre>
Line 338: Line 338:
$ mysql -h 127.0.0.1 -u root -p
$ mysql -h 127.0.0.1 -u root -p
</pre>
</pre>
* If still not work, reboot the server and restart the MySQL service.


== ERROR 2003 (HY000): Can't connect to MySQL server on 'ip' ==
== ERROR 2003 (HY000): Can't connect to MySQL server on 'ip' ==

Navigation menu