Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in c:\Inetpub\wwwroot\ch10\ch10-1.php on line 14
Access denied for user 'root'@'localhost' (using password: NO)
the code is warning whay?can help me.
Page 1 of 11 Replies - 198 Views - Last Post: 15 September 2012 - 01:11 PM
Replies To: the code is warning whay?can help me.
#2
Re: the code is warning whay?can help me.
Posted 15 September 2012 - 01:11 PM
Hi.
Like the warning says, MySQL is denying access to the root user with whatever password you used. You need to correct the user information you are using when connecting to MySQL.
By the way, using the root user when connecting to MySQL is a bad idea. You should always use users who's privileges are as limited as possible, for security.
Like the warning says, MySQL is denying access to the root user with whatever password you used. You need to correct the user information you are using when connecting to MySQL.
By the way, using the root user when connecting to MySQL is a bad idea. You should always use users who's privileges are as limited as possible, for security.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|