PDA

View Full Version : We could not connect to the database you specified



AnwarSam2000
02-07-2008, 03:19 PM
i am trying to install Moodle script i face this problem message "We could not connect to the database you specified. Please check your database settings."

what is the reason of this problem? and how can i solve it
Note: i am trying to install Moodle script when i face this problem.

r2b2
02-07-2008, 03:45 PM
Sounds like you are not entering the correct information regarding database name, username, password, and possibly server.

Server needs to be localhost
Username is cpanelusername_dbusername
Password is password (obviously :D)
Database is cpanelusername_dbname

MersauX
02-07-2008, 05:01 PM
Have you created a database and a user first and then added the user to the database?

AnwarSam2000
02-08-2008, 05:29 AM
Sounds like you are not entering the correct information regarding database name, username, password, and possibly server.

Server needs to be localhost
Username is cpanelusername_dbusername
Password is password (obviously :D)
Database is cpanelusername_dbname

Thanks alot Mr. r2b2 my problem was in this syntax cpanelusername_dbusername