|
|
![]() |
|
|
Top | #1 |
|
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0 |
Cannot connect to database. Check your configuration. Mysql says: Lost connection to MySQL server during query Unfortunatly the Mysql documentation does not shine any light on fixing the problem. I have tried setting the max_allowed_packet and the wait_timeout but they won't seem to "set". After using mysql_install_db it gives commands to set a root password via commands. But alas I get this error: Lost connection to MySQL server during query I am unsure what to do. I think I'm at the end of the line and I'm about to go crazy. Please help. Thank you, DreamweaverN |
|
|
|
|
|
Top | #2 |
|
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0 |
Hehe, I fixed! Sorry about that all
.
|
|
|
|
|
|
Top | #3 |
|
- geek -
Joined: September 2003
Location: NY, USA
Posts: 5,216
Reputation: 1730
Power: 171 |
Originally Posted by DreamweaverN
If you could perhaps post your solution incase someone down the line has the same problem.
|
|
|
|
|
|
Top | #4 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 149 |
seconded :yes: MySQL errors are quite common under n00bs (meaning people that just started using MySQL) and you're solution may also be their solution.
|
|
|
|
|
|
Top | #5 |
|
ho3 ho3 ho3
Joined: March 2004
Location: Scotland
Posts: 1,111
Reputation: 1032
Power: 118 |
FYI
to set variables you need to do this set-variable=tmpdir=c:/temp/mysql in your my.ini file or relevant unix filename. |
|
|
|
|
|
Top | #6 |
|
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0 |
Sure thing. Actually this was a very strange error and many things made it occur. I found that a setting I had made before that worked in FeedonFeeds (the localhost variable, it had to be set to this even though setting it to other things had worked perfectly fine on other Linux OSs). Also the user I had created for Mysql had to host "localhost" and nothing else. It seems Mysql didn't want to handel "outside" data (even though it came from the same machine). Of course the error had nothing to do with the fix. Also this set of conditions had not been seen anywhere else or so it seems (of all the searching I did nothing came close to the fix). The Mysql documentation was no help at all. I've setup Mysql on Mandrake, Red Hat and Slackware with the same software and doing the same things yet it all seemed to die when I changed to Gentoo. Oh well, it is working now and that is the main thing
.
|
|
|
|
|
|
Top | #7 |
|
*
Joined: December 2001
Location: USA
Posts: 6,490
Reputation: 2808
Power: 217 |
Hrm, MySQL on Windows == First Mistake Zerohour.
Dreamweaver: Did you use Gentoo's ebuild? If so, that is your mistake. |
|
|
|
|
|
Top | #8 |
|
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0 |
What, for using the ebuild or that it was my mistake all along?
|
|
|
|
|
|
Top | #9 |
|
ho3 ho3 ho3
Joined: March 2004
Location: Scotland
Posts: 1,111
Reputation: 1032
Power: 118 |
Originally Posted by X-Istence
Yeh I know, normally run it under redhat but where I work wanted IIS with PHP and MySQL (yes I know they are fools)
|
|
|
|
|
|
Top | #10 |
|
*
Joined: December 2001
Location: USA
Posts: 6,490
Reputation: 2808
Power: 217 |
Originally Posted by DreamweaverN
the ebuild system is broke, and works for nothing. I hear nothing but complaints when people use it. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| which use flags for gentoo? | Dark Atheist | Linux & BSD | 11 | April 19th, 2008 9:34am |
| can't get new php/mysql install to work. | Heeter | Web Design & Coding | 2 | February 29th, 2008 8:06am |
| Message to Gentoo users from Macromedia | Nick | Green Room | 13 | April 28th, 2005 1:23am |
| PHP and Mysql | luish | Web Design & Coding | 7 | August 24th, 2003 7:27pm |
| PHP MySQL | 5meg | Web Design & Coding | 3 | February 2nd, 2002 2:34pm |