MySQL commands: Difference between revisions

Jump to navigation Jump to search
174 bytes added ,  6 October 2016
Line 155: Line 155:
$ mysql -h 127.0.0.1 -u root -p
$ mysql -h 127.0.0.1 -u root -p
</pre>
</pre>
==== ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111) ====
Solution:
* Check if the MySQL service is running or not. If not, start the MySQL service.


==== ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES) ====
==== ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES) ====

Navigation menu