By virepoltd
Hello all
I have created my first droplet and want to set up sequel pro to access my database as a GUI. I can access my database via terminal using the commands
ssh forge@my-droplet-ip-address
mysql -uforge -p
And then i can see my databases. However when going through sequel pro im getting the error:
Unable to connect to host MY_IP_ADDRESS because access was denied.
Double-check your username and password and ensure that access from your current location is permitted.
MySQL said: Access denied for user ‘forge’@‘localhost’ (using password: YES)
The details i have filled in on sequel pro are:
MYSQL host: MY_IP_ADDRESS Username: forge Password: MY_PASSWORD Database:forge
SSH host:MY_IP_ADDRESS ssh user:forge SSH KEY:~/.ssh/id_rsa
Any ideas?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
By default MySQL does not listen on your public IP address. This can be changed in the /etc/mysql/my.cnf file on your droplet.
Commenting out or changing the line below to 0.0.0.0 (all IPs) or your public IP address
bind-address = 127.0.0.1
and then restarting with
service mysql restart
should correct this and allow your remote client to connect.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.