Unknown MySQL server host

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
Mahesh90901
Registered User
Posts: 3
Joined: Fri Feb 12, 2016 7:42 am

Unknown MySQL server host

Post by Mahesh90901 » Sat Oct 29, 2016 6:47 pm

I have changed my webhosting for my forum to another one. So i took the the backup of the files as well as the mysql database and after shifting it to a new host i edited the config.php with the new database config even after that it gives me error SQL ERROR [ mysql4 ] Unknown MySQL server host 'mysql.hostinger.in' (25) [2005]

mysql.hostinger.in was the before hosting from where the db was used to be host but now i have changed it even after changing the config.php it still shows me unknow mysql server host

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69239
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Unknown MySQL server host

Post by KevC » Sat Oct 29, 2016 7:00 pm

The config info is cached.

Open the board’s /cache folder on the server and delete everything except index.htm and .htaccess.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Mahesh90901
Registered User
Posts: 3
Joined: Fri Feb 12, 2016 7:42 am

Re: Unknown MySQL server host

Post by Mahesh90901 » Sat Oct 29, 2016 7:02 pm

Thanks for your fast response i was able to fix it.Thanks Again!

Locked

Return to “[3.1.x] Support Forum”