I installed vBulletin once years ago and am now installing it again on a different website. I am trying to install 4.2.3. Following the instructions of the vBulletin manual I created a MySQL (ver 5.5.32) database on the control panel of my webhost Dotster. I renamed the config.php.new to config.php and made the necessary edits (database name, database username and database password.) I uploaded the vBulletin files via FileZilla and attempted to run the install. I got the following message:
Due to the following errors, the install/upgrade can not continue:
The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the includes/config.php file
Error description: mysqli_real_connect(): (HY000/2002): No such file or directory /hermes/bosnaweb24a/b2336/dot.lanscforumcom/public_html/forums/includes/class_core.php on line 1359
So I searched and found many posts on this error stating the problem might be in the config.php. I confirmed all the info is correct. I re-extracted the config.php.new and re-edited it. I tried creating a new MySQL database. I tried changing the servername in config.php to 127.0.0.1. I tried changing dbtype to mysqli.
Nothing worked so I reached out to Dotster and this is their reply:
"vBulletin is using MySQLI method to connect to the database which is not yet supported in PHP 5.5. Thus, you are receiving database error message while installing the application. Our engineering team will be making necessary changes to MySQL server to support MySQLI but we cannot provide you the exact time frame when it will be completed.
Thus, I request you to downgrade PHP version to 5.3 at https://www.dotster.com/controlpanel...nt/PHPplus.bml and complete the installation. Select the PHP version from drop down bar and click on the button 'Set'.
If you have any further questions, please update the Support Console."
I made the recommended change to PHP 5.3 and got the following message when trying to re-run the install:
Due to the following errors, the install/upgrade can not continue:
This version of vBulletin requires PHP version 5.4.0 or greater. Your PHP is version 5.3.29, please ask your host to upgrade.
The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the includes/config.php file
Error description: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /hermes/bosnaweb24a/b2336/dot.lanscforumcom/public_html/forums/includes/class_core.php on line 317
Do I need to use an earlier version of vBulletin? Any other things I can try? Thanks in advance.
Due to the following errors, the install/upgrade can not continue:
The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the includes/config.php file
Error description: mysqli_real_connect(): (HY000/2002): No such file or directory /hermes/bosnaweb24a/b2336/dot.lanscforumcom/public_html/forums/includes/class_core.php on line 1359
So I searched and found many posts on this error stating the problem might be in the config.php. I confirmed all the info is correct. I re-extracted the config.php.new and re-edited it. I tried creating a new MySQL database. I tried changing the servername in config.php to 127.0.0.1. I tried changing dbtype to mysqli.
Nothing worked so I reached out to Dotster and this is their reply:
"vBulletin is using MySQLI method to connect to the database which is not yet supported in PHP 5.5. Thus, you are receiving database error message while installing the application. Our engineering team will be making necessary changes to MySQL server to support MySQLI but we cannot provide you the exact time frame when it will be completed.
Thus, I request you to downgrade PHP version to 5.3 at https://www.dotster.com/controlpanel...nt/PHPplus.bml and complete the installation. Select the PHP version from drop down bar and click on the button 'Set'.
If you have any further questions, please update the Support Console."
I made the recommended change to PHP 5.3 and got the following message when trying to re-run the install:
Due to the following errors, the install/upgrade can not continue:
This version of vBulletin requires PHP version 5.4.0 or greater. Your PHP is version 5.3.29, please ask your host to upgrade.
The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the includes/config.php file
Error description: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) /hermes/bosnaweb24a/b2336/dot.lanscforumcom/public_html/forums/includes/class_core.php on line 317
Do I need to use an earlier version of vBulletin? Any other things I can try? Thanks in advance.
Comment