PDA

View Full Version : [ubuntu] mysql crash



herrbrand
September 1st, 2008, 01:32 PM
hello

I installd mysql good but when i try to start mysqld_safe --user=mysql it gives to lines of text and then only the cursos keeps blinking.
I can typ commands but nothing happens.
I have to restart the server to work forther.

how can i solve this?

Robbert

manishtech
September 2nd, 2008, 09:02 AM
Use this command to manage the server


Start:


sudo /etc/init.d/mysql start

Stop

sudo /etc/init.d/mysql stop

Restart


sudo /etc/init.d/mysql restart

manishtech
September 2nd, 2008, 09:04 AM
Now if you want to login to mysql frontend, type this


mysql -u root -p

and then enter the root password which you created while installing mysql

I suggest you not to work much on root, create another user and then use it. In that case the command would become


mysql -u newuser -p