dannjoroge Posted November 22, 2013 Share Posted November 22, 2013 i am new in php would anyone guide me on how to correct this Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\Care\classes\adodb\drivers\adodb-mysql.inc.php on line 365 Quote Link to comment https://forums.phpfreaks.com/topic/284151-how-to-correct-warning-mysql_connect/ Share on other sites More sharing options...
Barand Posted November 22, 2013 Share Posted November 22, 2013 Use the correct password Quote Link to comment https://forums.phpfreaks.com/topic/284151-how-to-correct-warning-mysql_connect/#findComment-1459493 Share on other sites More sharing options...
Ch0cu3r Posted November 22, 2013 Share Posted November 22, 2013 Note by default XAMPP doesn't come with a password for the root user. You need edit your scripts config and remove the password for connecting to mysql. Quote Link to comment https://forums.phpfreaks.com/topic/284151-how-to-correct-warning-mysql_connect/#findComment-1459495 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.