Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error mysql_connection.cpp:1151:handler(): [ERROR] Failed to mysql_real_connect() on 20:10.38.2.5:3306 , FD (Conn:155 , MyDS:155) , 1045: Access denied for user 'appuser3'@'10.40.0.24' (using password: YES). #4711

Open
avanigargg opened this issue Oct 10, 2024 · 0 comments

Comments

@avanigargg
Copy link

Hi,

I have deployed proxysql on GKE and I am using proxysql to connect to cloudsql(mysql) database.
I have created a user appuser3@'%'.
When I login through mysql client to proxysql, I am able to get the query result.
But for load simulation, I am using mysqlslap client, Through which I am not able to connect to the proxysql and it is giving error like my user 'appuser3' does not have access on the GKE host.

Below is the error

mysql_connection.cpp:1151:handler(): [ERROR] Failed to mysql_real_connect() on 20:10.38.2.5:3306 , FD (Conn:155 , MyDS:155) , 1045: Access denied for user 'appuser3'@'10.40.0.24' (using password: YES).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant