MySQL Forums
Forum List  »  Newbie

Re: Non Root user Loging works from command line ERROR 1045 from heredoc
Posted by: Shawn Green
Date: January 26, 2019 02:11PM

Hello Joe,

You may not be authenticating as the account you believe that login should be using.

Look at the output of this query
SELECT user(), current_user();


Then compare that to the info presented here:
https://dev.mysql.com/doc/refman/8.0/en/account-names.html

https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html ("usage" is a synonym for "no privileges")

--
Shawn Green
MySQL Senior Principal Technical Support Engineer
Oracle USA, Inc. - Integrated Cloud Applications & Platform Services
Office: Blountville, TN

Become certified in MySQL! Visit https://www.mysql.com/certification/ for details.

Options: ReplyQuote


Subject
Written By
Posted
Re: Non Root user Loging works from command line ERROR 1045 from heredoc
January 26, 2019 02:11PM


Sorry, you can't reply to this topic. It has been closed.

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.