By frenchuser11
Hi everyone,
I would like to connect to my database remotely however, I am only able to access it using phpmyadmin and through my terminal.
I would like to get mysql workbench and netbeans connecting to it but it is failing.
When trying to connect using mysql workbench I get the following error:
Failed to Connect to MySQL at x.x.x.:x through SSH tunnel at x.x.x with user test
Can’t connect to MySQL server on ‘127.0.0.1’ (61)
When trying to connect to it using Netbeans I get the following : Cannot establish a connection to jdbc:mysql://x.x.x.x:3306/x?zeroDateTimeBehavior=convertToNull using com.mysql.jdbc.Driver (null, message from server: “Host ‘host-92-21-23-74.as13285.net’ is not allowed to connect to this MySQL server”)
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!
Have you set proper user permissions so your machine can remotely connect to the MySQL server? I would check that, if not add yourself to the list and set permissions so you can eventually connect.
Heres a detail from the MySQL Documentation: https://dev.mysql.com/doc/refman/5.1/en/adding-users.html
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.