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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.