![]() |
Error connection on vBulletin
Hallo
Some week ago I changed my vBullettin hosting for a bigger one with the PHP more updated. Everything works but at the beginning I received, an email with a database connection error that slowly diseappeared. In these day it has started again to send me this error messages; I copy the text here below: Code:
vBulletin Database Error! He says that the problem seems to come from the fact that the application tries to connect to db on 213.215.228.XXX (old server?) and being another server is correct that it dosn't allows the connection. He suggest to verify that all the Db connection are to "localhost" and not to external DB and he concludes saying that it is surely a problem of my configuration. vBullettin is updated to 3.6.8 Patch Level 1 version and vBSEO 3.0.0. is installed. Anyone has an Idea to help me solve the problem? Thank you very much __________________ You have never see gift ideas like these? (idee regalo on italian, geschenkideen on german or id?e cadeau on french) |
Did you do as your host suggested here (look at the user table in your mysql database)?
Quote:
|
In config.php, set the MySQL server to "localhost".
|
Interesting!
Then, I go to try. Meanwhile thanks. Bye bye |
So, I looked for in file config.php (inside include folder) the entry that can be like the error's one and I found this:
Quote:
I have tried to substitute the file in this way and to upload again on the server: Quote:
Quote:
Thak you very much |
Make sure that you enter the correct MySQL user and password for the new server in the config.php.
|
I've checked the config.php configuration and everything seems ok but the
error stay; I don't know what to do now!!! I tried to open the file too: /var/www/vhosts/dominio.estensione/httpdocs/includes/class_core.php on line 274 and at line 724 (that the error report) I found this code: Code:
$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password); Thank you |
The error (the one you posted in post #5) indicates that your MySQL username/password combination is not correct. Make sure they are correct and that the user has permissions to access the vBulletin database.
|
Great, I've fixed it!!!
After a lot of trouble and reading again the vBulletin manual I've found an incoherence in config.php file. It's in this section: Code:
// ****** MASTER DATABASE USERNAME & PASSWORD ****** I can't understand how it can be happened but removing that 2 lines the error doesn't appear anymore. Thanks to everybody. Bye |
All times are GMT. The time now is 05:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|