5

Error trying to connect to the database server: [1045] Access denied for user

 2 years ago
source link: https://www.codesd.com/item/error-trying-to-connect-to-the-database-server-1045-access-denied-for-user.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Error trying to connect to the database server: [1045] Access denied for user

advertisements

I have a MySQL database running and I created a new user called 'ssluser' with SSL REQUIRED. I'm having trouble with this user logging in from a client to a remote server.

I verified the firewall is not an issue. iptables are not reporting dropped packets.

I am able to connect from nonssluser to the remote server without an issue.

On the server my.cnf I have the CA, Cert, and Key file in place and MySQL WorkBench shows that SSL is enabled.

On the client, I have CA, Cert, and Key file in place as well.

For both certificates I used the FQDN as the common name. I'm not sure if that is the issue or not. Any ideas?

The connection is on a private network in the Digital Ocean datacenter NYC.


[1045] Access denied for user

is a MySQL thing - which means that you are connecting - SSL does not seem to be the problem.

This most likely means you are authenticating wrong (have the wrong password).

Check this to see if it helps if you are sure you have the right password.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK