Reply
Old June 2nd, 2004 Top | #1
 
DreamweaverN's Avatar
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0

Default [Gentoo] Mysql does not work

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
DreamweaverN is offline   Reply With Quote
Old June 2nd, 2004 Top | #2
 
DreamweaverN's Avatar
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0

Default

Hehe, I fixed! Sorry about that all .
DreamweaverN is offline   Reply With Quote
Old June 2nd, 2004 Top | #3
Xie

OSNN Subscriber
OSNN Folding Team  
Xie's Avatar
- geek -
Joined: September 2003
Location: NY, USA
Posts: 5,426
Reputation: 1119
Power: 144

Default

Originally Posted by DreamweaverN
Hehe, I fixed! Sorry about that all .
If you could perhaps post your solution incase someone down the line has the same problem.

tehgeek | geeking out to tech | Chrome | IRC | *Parted Magic* | A+ Certified Professional
Xie is offline   Reply With Quote
Old June 2nd, 2004 Top | #4
 
Glaanieboy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,647
Reputation: 270
Power: 126

Default

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.
Glaanieboy is offline   Reply With Quote
Old June 2nd, 2004 Top | #5
 
ZeroHour's Avatar
ho3 ho3 ho3
Joined: March 2004
Location: Aberdeen, Scotland
Posts: 1,076
Reputation: 935
Power: 92

Default

FYI
to set variables you need to do this
set-variable=tmpdir=c:/temp/mysql
in your my.ini file or relevant unix filename.

<Z>
EduGeek.net -The I.T. professionals' life line
ZeroHour is offline   Reply With Quote
Old June 2nd, 2004 Top | #6
 
DreamweaverN's Avatar
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0

Default

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 .
DreamweaverN is offline   Reply With Quote
Old June 3rd, 2004 Top | #7

OSNN Subscriber  
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,394
Reputation: 2617
Power: 190

Default

Hrm, MySQL on Windows == First Mistake Zerohour.

Dreamweaver: Did you use Gentoo's ebuild? If so, that is your mistake.
X-Istence is offline   Reply With Quote
Old June 3rd, 2004 Top | #8
 
DreamweaverN's Avatar
OSNN Junior Addict
Joined: January 2004
Location: Northern Territory, Australia
Posts: 4
Reputation: 0
Power: 0

Default

What, for using the ebuild or that it was my mistake all along?
DreamweaverN is offline   Reply With Quote
Old June 3rd, 2004 Top | #9
 
ZeroHour's Avatar
ho3 ho3 ho3
Joined: March 2004
Location: Aberdeen, Scotland
Posts: 1,076
Reputation: 935
Power: 92

Default

Originally Posted by X-Istence
Hrm, MySQL on Windows == First Mistake Zerohour.
Yeh I know, normally run it under redhat but where I work wanted IIS with PHP and MySQL (yes I know they are fools)


<Z>
EduGeek.net -The I.T. professionals' life line
ZeroHour is offline   Reply With Quote
Old June 5th, 2004 Top | #10

OSNN Subscriber  
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,394
Reputation: 2617
Power: 190

Default

Originally Posted by DreamweaverN
What, for using the ebuild or that it was my mistake all along?

the ebuild system is broke, and works for nothing. I hear nothing but complaints when people use it.
X-Istence is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

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