php - Not able to access mysql using script -
i getting following error when trying access mysql table :
access denied user 'root'@'localhost' (using password: no)
but, can login root when using mysql
in command line.
that normal behaviour. set root password database on can't access without password. why reports:
access denied user 'root@localhost' (using password: no )
obviously when give password -p switch succeed.
Comments
Post a Comment