how can i log in to MySQL
Posted
by
yang
on Ask Ubuntu
See other posts from Ask Ubuntu
or by yang
Published on 2011-11-18T06:45:45Z
Indexed on
2011/11/18
10:19 UTC
Read the original article
Hit count: 527
I am new to ubuntu and installed MySQL use a rpm file,
and started it use sudo start mysql
, when i try
mysqladmin -u root password test
I get
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
I checked the mysqld folder and there is nothing
what can i do the next? Thanks for your answers
© Ask Ubuntu or respective owner