Jump to content

[SOLVED] Cannot connect to database server


novapunkX

Recommended Posts

I am trying to install MyBB(http://www.mybboard.com) and have gotten as far as trying to connect to the MySQL server. The step before it finds that I do infact have a MySQL server running. But when I try to connect to localhost(webserver and MySQL server are on the same machine) it says:

"Could not connect to the database server at 'localhost' with the supplied username and password. Are you sure the hostname and user details are correct?"

Now, I have added my username and password to the MySQL list of users and I am able to access the MySQL stuff from the server. It seems like maybe PHP and MySQL are conflicting, maybe? Any thoughts on this would be appreciated!

I am running all this on Windows Server 2003 with PHP 4.4.4 and MySQL 5.0 installed.
Link to comment
https://forums.phpfreaks.com/topic/31931-solved-cannot-connect-to-database-server/
Share on other sites

It was some type of user error I still haven't completed understood... I added a ODBC account and gave it full privs and when I told MyBB to install with no username/password it worked! So I think I can figure it out from here, but thanks for the help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.