novapunkX Posted December 27, 2006 Share Posted December 27, 2006 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. Quote Link to comment Share on other sites More sharing options...
fenway Posted December 27, 2006 Share Posted December 27, 2006 Never used myBB, but it does sound like your credentials are invalid... localhost sometimes isn't aliased properly. Quote Link to comment Share on other sites More sharing options...
novapunkX Posted December 27, 2006 Author Share Posted December 27, 2006 How can I tell if it is aliased properly? If I open up IE and type localhost it loads up my website as it should. Also I can use the MySQL Administrator program to login to my server. Quote Link to comment Share on other sites More sharing options...
novapunkX Posted December 27, 2006 Author Share Posted December 27, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.