I'm trying to remote dump a MySQL db that is behind a VPN (I'm VPNed in):
mysqldump.exe -h 10.39.23.111 -u dbuser -p remoteschema > c:\temp\mysql.sql
The error message I get is:
mysqldump: Got error: 1045: Access denied for user 'dbuser@%'@'192.168.0.8' (using password: YES) when trying to connect
. 192.168.0.8 is my IP Address in the VPN.
How can I specify that I want dbuser@127.0.0.1 or the ip of the machine? Whenever I include the IP, MySQL concats that with my VPN IP.
For instance, I try:
mysqldump.exe -h 10.39.23.111 -u dbuser@10.39.23.111 -p remoteschema > c:\temp\mysql.sql
I get the following error:
mysqldump: Got error: 1045: Access denied for user 'dbuser@10.39.23.111'@'192.168.0.8' (using password: YES) when trying to connect
. 192.168.0.8 is my IP Address in the VPN.
How can I successfully connect in this case?