MyBB Community Forums

Full Version: how to fix this error?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I have changed the hosting provider with a new one.
I have:
Database backup
All hosted files (script, plugins, theme etc)

I have uploaded everything in my new hosting but I get an error message.
Can anyone help me please ?
MyBB Wiki: Common Error Messages
Quote:This occurs when the database type is incorrect in ./inc/config.php.
To fix this, open ./inc/config.php and check the entry for $config['database']['type'].
A common issue is having 'mysql' instead of 'mysqli', or having 'mysqli' instead of 'mysql'.
If you do not know what needs to be here, contact your host provider.

So, make sure, that your hosting provider supports the SQL type (defined in your config.php).
Great!
To be honest I forgot to change database name, database username and password in ./inc/config.php. :p
Also there was the problem with database type too, as you said Smile

Thanks a lot