Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-22-2004, 01:31 PM   #1
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Rep: Reputation: 30
Error: lost connection to MySQL server during query

I get this message whenever I try to connect to MySQL server at home from work. I am going though a router at home but it makes the initial connection but then I get the error after I enter the password. TCP/IP is working because I can connect through a telnet session that stays connected.
Old 01-23-2004, 06:28 AM   #2
LQ Newbie
Registered: Jan 2004
Posts: 11

Rep: Reputation: 0
are you able to connect from localhost?

Also, check /etc/mysql/my.cnf and make sure that skip-networking is commented out.
Old 01-23-2004, 07:56 AM   #3
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Original Poster
Rep: Reputation: 30
Yes, I can connect from localhost but not from any other host either inside or outside my router. I cannot check my cnf file because I have since blown away that server and reinstalled Mandrake. The original install was Red Hat. Now I can't even seem to get MySQL running. I need to work on it for awhile and then might post any questions later.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Help Error Compiling MySQL Query Browser MarcusG Linux - Software 3 02-06-2005 10:02 AM
Lost connection to MySQL server during query figure8car Mandriva 1 12-05-2004 04:28 PM
ERROR 2013: Lost connection to MySQL server during query kicap Linux - Software 0 11-23-2004 08:30 PM
Mysql Error: Lost Connection to Mysql during query ramnath Programming 5 11-18-2003 12:27 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration