View previous topic :: View next topic |
Author |
Message |
walkins n00b
Joined: 16 Feb 2003 Posts: 3
|
Posted: Fri Feb 28, 2003 10:51 pm Post subject: mySQL connection issues from localhost |
|
|
My first post!
I just emerged mySQL-3.23.54a for two machines on my local network. For one machine the whole process went off without a hitch and I'm happy. On the other, I have been unable to connect to the mySQL server from the get-go:
Code: | # mysqladmin version
mysqladmin: connect to server at 'localhost' failed
error: 'Lost connection to MySQL server during query'
|
I've google'd this problem and have subsequently verified the permissions on mysqld.sock, and through a netstat -a i know that mysqld is listening for connections.
I've also tried:
Code: | # telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
|
So something looks to be answering, but then drops the connection immediately.
Aslo, I have no tcp-wrapper hosts.allow or hosts.deny files.
Any ideas? |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Fri Feb 28, 2003 11:49 pm Post subject: |
|
|
mysql -uroot -p
Gives you what? _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website |
|
Back to top |
|
|
walkins n00b
Joined: 16 Feb 2003 Posts: 3
|
Posted: Sat Mar 01, 2003 12:01 am Post subject: |
|
|
Code: | $ mysql -uroot -p
Enter password:
ERROR 2013: Lost connection to MySQL server during query |
The password used should be irrelevant since I have not been able to connect and setup a root account. |
|
Back to top |
|
|
|