MySQL Forums
Forum List  »  MySQL Workbench

Re: MySQL 8.0.17 cannot connect to database
Posted by: Toby Lunn
Date: November 19, 2019 10:54AM

I had the same sounding problem. I could use mysql as linux/root user but not with mysql workbench. After searching the web I found ...

SHOW VARIABLES LIKE 'validate_password%';

Check whether your password conforms to the server restrictions.

If not reset with:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '1NewPassword!";

Options: ReplyQuote

Written By
Re: MySQL 8.0.17 cannot connect to database
November 19, 2019 10:54AM

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.