sam20e Posted August 27, 2013 Share Posted August 27, 2013 Hi guyzI found this code :http://pastebin.com/gK4qTxVyThis is to check the mysql connection, the problem is this checks the DB connection internally only. I mean you need to upload this file to the server and check the connection, what i want is where i can externally check the connection.. Meaning if i host this php in my server, i should be able to check any db connection by providing the server name or server ip. Currently if I do this it says access denied in my local server. anyone can guide?Thanks Quote Link to comment Share on other sites More sharing options...
requinix Posted August 27, 2013 Share Posted August 27, 2013 It'll check any hostname you provide via the form, not just the "internal" database. Quote Link to comment Share on other sites More sharing options...
Muddy_Funster Posted August 27, 2013 Share Posted August 27, 2013 if you are getting access denied it meens that you don't have the permissions on the server that you are connecting to to perform the action(s) that you are attempting. It's nothing to do with the script. 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.