MySQL Forums
Forum List  »  Newbie

Need help to start the server!!
Posted by: Alexander Dietz
Date: May 23, 2005 07:33AM

Hi,

I was using mySQL before, but then I had to change some settings on my local computer and now nothing works.
I have installed mySQL under Linux on a single computer and I am the only user.

Here are the different things that happen:

- 'mysql' or 'mysql -p' give the error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

- 'mysql -h [host] -p' give the error:
ERROR 1130 (00000): #HY000Host '[host]' is not allowed to connect to this MySQL server

- I cannot even look at the version (started as root): './bin/mysqladmin version' - Error:
/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

- Or changing some password: './bin/mysqladmin -u root password xxx'
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!


How can I manage to start mysql asa normal user?? I tried nearly everything I could found in the documentation and I used Google to search for the errors I got but nothing worked for me!

I would appreciate help in that very much!

Alexander

Options: ReplyQuote


Subject
Written By
Posted
Need help to start the server!!
May 23, 2005 07:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.