Mac error 1045 (28000): access denied for user 'root@localhost'@'localhost' (using password: yes)3/16/2023 ![]() Finally don’t know why, I ran the php file from the terminal like this instead of the browser: I was able to log-in from the terminal using the same credential and was able to see the records on the table, but the php script was showing the connection error for the same credential, which was weird!Īfter searching all the posts on stackoverflow, found no solution for this. “Error!: SQLSTATE Access denied for user” I was unable to connect to the database using the php script. I am also new in DigitalOcean and was following this article to setup a LEMP server:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |