Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Could not connect to the database serve
by goodwill1120 on 2008/5/27 16:43:12

Forget it... I am just stupid... I test with root and then actually its my xoop specific account failing :)
Re: Could not connect to the database serve
by goodwill1120 on 2008/5/27 16:40:33

To add some info: I have checked both MySQL and mysqli default socket are changed, and I can connect with a simple PHP saying:
mysql_connect("localhost","user", "pass") without any problem. Something gone wrong?
Re: Could not connect to the database serve
by goodwill1120 on 2008/5/27 16:00:45

Tried the php.ini hack with no luck here even after restarting apache.

My default socket is at /opt/local/var/run/mysql5/mysqld.sock, and I have customized this into the php.ini mysql.default_socket, anything I have missed?
Re: Could not connect to the database serve
by Anonymous on 2008/5/13 20:11:16

Recently many websites have this problem, and I don't know if this happened after upgrade to 2.0.18.1 or after cpanel upgrade.

Quote:
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

Helpful infomation you should provide while asking for assistance:

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34
Re: Could not connect to the database serve
by Catzwolf on 2008/5/13 20:07:25

Thanks for posting a fix and helping other mac users :)

Who's Online

225 user(s) are online (181 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits