|
|
![]() |
|
|
Top | #1 |
|
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0 |
Hello all. I am trying to setup Mysql to use Feedonfeeds (a server side feed reader which I use to read this fine site) but I seem to be having quite a major problem. I get this error:
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,426
Reputation: 1119
Power: 144 |
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,647
Reputation: 270
Power: 126 |
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: Aberdeen, Scotland
Posts: 1,076
Reputation: 935
Power: 92 |
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,394
Reputation: 2617
Power: 190 |
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: Aberdeen, Scotland
Posts: 1,076
Reputation: 935
Power: 92 |
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,394
Reputation: 2617
Power: 190 |
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 8:34am |
| can't get new php/mysql install to work. | Heeter | Web Design & Coding | 2 | February 29th, 2008 7:06am |
| Message to Gentoo users from Macromedia | Nick | Green Room | 13 | April 28th, 2005 12:23am |
| PHP and Mysql | luish | Web Design & Coding | 7 | August 24th, 2003 6:27pm |
| PHP MySQL | 5meg | Web Design & Coding | 3 | February 2nd, 2002 1:34pm |
![]() |