Can anyone tell me why I got an alert with the access denied error? I tried to create a mysql database and I confidently sure I entered the correct password for root yet I still got this error.
However, based on the mysql documentation for troubleshooting, my error specified that I did not enter the correct password which in fact I did not.
Mysql documentation
https://dev.mysql.com/doc/refman/5.5/en/problems-connecting.html
Also , I tried to run this command sudo mysql -u root -p
and it also show me the same error.
P.S Because my reputation is too low, I can't attach the full image.
DBeaver can be used to access any database or cloud application that has an ODBC or JDBC driver, such as Oracle, SQL Server, MySQl, Salesforce, or Mailchimp. Devart DBeaver provides you with the most important features you'd need when working with a database in a GUI tool, such as: SQL queries execution.
DBeaver allows you to work with all popular databases. The first thing you have to do is to create a connection. Our app provides a wizard that guides you through the steps to do it. To open a wizard, click on the plug icon in the upper left corner of the application window or go to Database -> New Database Сonnection.
might be check you are currently connect with the correct password plugin, use the following Command, SELECT user, authentication_string, plugin, host FROM mysql.user;
If your are login with root, check whether plugin is "mysql_native_password" if not, change as it is with the following command.
ALTER USER 'root'@'localhost IDENTIFIED WITH mysql_native_password BY 'Password@123'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With