• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Had to change to a new SQl server.

#1
So i had to transfer to a new SQL server as i kept getting the error:
Code:
An unexpected database error occurred. Please try again later.
I backed up the SQL, made a new DB and uploaded the SQL to that DB, changed the settings in config.php

And now i cant login, i get the error:
Code:
A server error occurred. Please try again later.
And when i try to login to admin, nothing happens but a little "M" shows under the login.. What happened? What went wrong?

Thanks in advance.
 

Jake Bunce

XenForo moderator
Staff member
#2
Since you can't access the Admin CP, try enabling debug mode by adding this line to your library/config.php file:

Code:
$config['debug'] = 1;
That will reveal a more detailed error.
 

borbole

Well-known member
#3
So i had to transfer to a new SQL server as i kept getting the error:
Code:
An unexpected database error occurred. Please try again later.
I backed up the SQL, made a new DB and uploaded the SQL to that DB, changed the settings in config.php

And now i cant login, i get the error:
Code:
A server error occurred. Please try again later.
And when i try to login to admin, nothing happens but a little "M" shows under the login.. What happened? What went wrong?

Thanks in advance.
Can you double check all the settings again? Especially the server name. Maybe it is different at the new host.

When you created the db and the user at the new host, did you granted it full access and permissions to the db?

Alternatively if everything is ok with the above mentioned things, then contact your host.