Boy, this is frustrating. Maybe I just ain't that smart, but I cannot seem to get past the "Unable to connect to database server" message.

I created a database on the mySQL server. I entered my username and password and mySQL address in the settings. I tried using the name for the database I created instead. Nothing is working.

Could someone maybe show me a screengrab (with the password blotted out of course) of exactly what this page should look like? It's making me nuts!

Thanks very much in advance.

Comments

dc35’s picture

are you sure you are using the full mySQL username and server name?

like mine if "drupal" but, the fullname is "newpalt_drupal"

the first part might be similar to what your account is called. i hope that makes sense. go into your servers CP and then click on mysql servers. there should be a section that tells you all that info.

BUGLEBOY’s picture

Does this mean I enter the entire mySQL server name (mysql://myusername:mypassword@mysql.secureserver.net) but add _mydatabase name to the end?

cog.rusty’s picture

What Drupal version?

Where did you enter your database username, database password, and database name? In the setup screen of Drupal 5 or in the settings.php file?

I guess by "username and password" you mean your database username and password, and by "database address" you mean the database name. Or not?

BUGLEBOY’s picture

I entered my database username and password and mySQL server address in the settings.php file.

ron williams’s picture

Make sure you have enabled your database user access to the database.

Ron Williams
http://ronwilliams.io/

BUGLEBOY’s picture

Yes, I have done that. Thank you.