-
Notifications
You must be signed in to change notification settings - Fork 769
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
Error 1049 Unknown database '&lock_wait_timeout=2' #303
Comments
its so wired pls help me |
Hrm, this is coming from connection string builder. Does your password have a '?' in it? |
yes man its have a '?' in it |
I thought so, that's a bug in the current way we handle building the connection string. For now, I would recommend creating a separate user for the exporter that does not have a |
ok,tks |
I hit the same issue with a password have |
Host operating system: output of
uname -a
localhost
mysqld_exporter version: output of
mysqld_exporter --version
0.11.0.linux-amd64
MySQL server version
5.7.22
mysqld_exporter command line flags
./mysqld_exporter --config.my-cnf=".my.cnf"
What did you do that produced an error?
i want to start mysqld_exporter
What did you expect to see?
run
What did you see instead?
ERRO[0012] Error pinging mysqld: Error 1049: Unknown database '&lock_wait_timeout=2' source="exporter.go:119"
cat .my.cnf
[client]
host=localhost
port= 3306
user=root
password=*******
The text was updated successfully, but these errors were encountered: