Mr_J Posted November 13, 2008 Share Posted November 13, 2008 www.medbel.co.za/jaco/php/database.php code: <?php /* Connect to the mysql database. */ $conn = mysql_connect("sql4a.your-server.co.za", "jacoxxxx", "xxx") or die(mysql_error()); mysql_select_db('usr_tanle', $conn) or die(mysql_error()); ?> Verified usr & pw is correct!! Data in Table!! HELP please, I`m loosing it! Link to comment https://forums.phpfreaks.com/topic/132568-mysql-connect-access-denied-for-user/ Share on other sites More sharing options...
Mr_J Posted November 13, 2008 Author Share Posted November 13, 2008 Ps. I made a config.php file with the user, pw and server address!! which i "include" Link to comment https://forums.phpfreaks.com/topic/132568-mysql-connect-access-denied-for-user/#findComment-689329 Share on other sites More sharing options...
revraz Posted November 13, 2008 Share Posted November 13, 2008 Access is denied for that user, just as it states. Change the rights in MySQL. Link to comment https://forums.phpfreaks.com/topic/132568-mysql-connect-access-denied-for-user/#findComment-689330 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.