MySQL Forums
Forum List  »  Install & Repo

Re: Error Connecting to DataBase!: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
Posted by: Barry Galbraith
Date: October 08, 2017 04:58AM

It looks like you have created user "test", but not granted that user any privileges on any database(s).
Read the refman here https://dev.mysql.com/doc/refman/5.7/en/privilege-system.html
Pay attention to the bit about CREATE USER and GRANT.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Error Connecting to DataBase!: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
October 08, 2017 04:58AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.