MyBB Community Forums

Full Version: Migrated SQL DB + Files to new server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey guys, i've migrated my database and files to a new server, and i need a little help connecting the forum site to the database again.

(how i did this -- copied Forum folder with all the files in it to a new server, then created a database with the same name and imported the old database data to this new database.)

i launched a mysql server 5.7 with localhost as hostname, root as the username, ** password. This is what the config looks like.

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'subglobal';
$config['database']['table_prefix'] = 'mybb_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'root';
$config['database']['password'] = '****';

$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;

the mysql database is running on port 3306

So far ive tried changing the memcache port to 3306 - no resolve, as well as changing mysqli to mysql - no resolve.

When i try going to  Forums.SubGlobal.net, i get the following:


MyBB has experienced an internal error and cannot continue.

Error Type:MyBB Error (44)Error Message:MyBB was unable to load the SQL extension. Please contact the MyBB Group for support.MyBB Website
[url=http://mybb.com/][/url]

Yes firewall is off.
Does anybody hre have any idea why the forum is not connecting to the database?
You need to install PHP's MySQL extension and then restart your web server.

On Debian/Ubuntu it would go something like:

sudo apt-get install php5-mysql
sudo service apache2 restart #assuming apache
(2015-11-15, 10:51 PM)Nathan Malcolm Wrote: [ -> ]You need to install PHP's MySQL extension and then restart your web server.

On Debian/Ubuntu it would go something like:

sudo apt-get install php5-mysql
sudo service apache2 restart #assuming apache

Those are the correct commands for Ubuntu.
I installed the php mysql extension following this tutorial: http://php.net/manual/en/mysql.installation.php

i then restarted the system, and the website still gives the same message.
The extension is probably still not activated.
SOLVED. I just needed to reboot the root machine after doing the tutorial. Thanks a lot, guys!