Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mySQL connection issues from localhost
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
walkins
n00b
n00b


Joined: 16 Feb 2003
Posts: 3

PostPosted: Fri Feb 28, 2003 10:51 pm    Post subject: mySQL connection issues from localhost Reply with quote

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
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Fri Feb 28, 2003 11:49 pm    Post subject: Reply with quote

mysql -uroot -p


Gives you what?
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
walkins
n00b
n00b


Joined: 16 Feb 2003
Posts: 3

PostPosted: Sat Mar 01, 2003 12:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum