#1  
Old 1st December 2005, 01:07
mandarin14 mandarin14 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache with MYSQL trouble

Im trying to set up a website which was created in a windows box and moved to this debian box. I keep getting the same error below everytime i check the webpage. Im pretty much stumped on what to do.

-----




IPB WARNING [2] mysql_connect(): Lost connection to MySQL server during query (Line: 132 of /ips_kernel/class_db_mysql.php)



There appears to be an error with the database.
You can try to refresh the page by clicking here.

Error Returned


SQL error: Lost connection to MySQL server during query
SQL error code:
Date: Wednesday 30th of November 2005 03:05:42 PM
Reply With Quote
Sponsored Links
  #2  
Old 1st December 2005, 02:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Do you use the correct MySQL username and password in your scripts?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 1st December 2005, 02:43
mandarin14 mandarin14 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is this in the php.ini config file?
Reply With Quote
  #4  
Old 1st December 2005, 11:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by mandarin14
Is this in the php.ini config file?
No! I guess there's some kind of config file for your web application where you can set the MySQL user and password.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 4th December 2005, 21:18
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Once you find the config file with the Username/Password you should attempt connecting to the mysql server manually (not through the web application) to verify the login credentials are correct:

# mysql -u <username> -p <database_name>
password: ********


You would run that on the server itself.
__________________
themachine
5dollarwhitebox.org
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How would I upgrade php, mysql, and apache for debian phantomk Installation/Configuration 10 4th June 2007 19:01
PHP/MySQL/Apache2/ISPConfig configuration issues? senzapaura General 21 25th December 2005 15:01
apache , mysql and php aolex Server Operation 4 15th October 2005 21:19
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 17:37
MySQL issue during install of ISPConfig ricbax Installation/Configuration 4 16th September 2005 10:41


All times are GMT +2. The time now is 22:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.