By edwinsison
I have two droplets. One is our website droplet and the second is the MySQL database droplet. Using the website droplet console I am trying to test the connection to the MySQL database droplet. I type mysql -u root -h hostname -p. I got an error message "Access denied for user root @ vital-c.net (using password: YES).
Any advice???
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!
This question was answered by @asb:
In additon to @sierracircle’s suggestion, you might also want to check out the tutorial “How To Set Up a Remote Database to Optimize Site Performance with MySQL.” While it uses WordPress as the example, it should point you in the right direction for setting up a MySql server to be connected to remotely even if you are using something else.
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.