how can i log in to MySQL
- by yang
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