couldn't connect to database

Status
Not open for further replies.

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
Presumably, the function mysql_select_db('your_db_name'); is returning FALSE and your program caught the error and quit. Check your MySQL databases in CPanel to make sure the database you want exists. There have been a few server issues lately and your database might be having a problem.
 

mazafaka

New Member
Messages
2
Reaction score
0
Points
0
Presumably, the function mysql_select_db('your_db_name'); is returning FALSE and your program caught the error and quit. Check your MySQL databases in CPanel to make sure the database you want exists. There have been a few server issues lately and your database might be having a problem.
MySQL database with all good, maybe there is something wrong?
$ dbms = 'mysql';
$ dbcollation ='';
$ pconnect = false;
Edit:
I did! instead of 'localhost' prescribed 'mysql-stoli.x10hosting.com'
$ dbhost = 'mysql-stoli.x10hosting.com';
everything works. close topic
 
Last edited:
Status
Not open for further replies.
Top