consultant1027 Posted March 9, 2008 Share Posted March 9, 2008 I've got a project where I'm maintaining the website and another group is maintaining the MySQL DB which we remotely access. We're using the mysqli library in our PHP code. We've had no problems connecting to the DB. They removed a user from MySQL, but not the one we use to logon to the DB. All of the sudden the website cannot connect to the DB anymore. I can connect fine still using the same credentials as the website if I connect from my local machine using SQLyog. Obviously they made some other changes other than just deleting one user account on MySQL. They're running version 5.0.45. I'm waiting to here back about what other changes they made but it strikes me odd the the website cannot connect and I can from SQLyog. It's almost as if the website is trying to connect on a different port or something and they closed the port, but we aren't specifying a port in the PHP code when we connect. Any suggestions as what to look for is much appreciated. Quote Link to comment Share on other sites More sharing options...
mwasif Posted March 30, 2008 Share Posted March 30, 2008 PHP will connect to 3306 port even if you do not specify. Did you try mysql_error() function to see the error message? 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.