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

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -