I am running on windows os. I want to set up an ODBC connection to MySQL on my Digital Ocean Droplet. I have ODBC set up on my computer. What I cannot seem to find is good documentation regarding setting up my droplet to accept the connection and setting up username and password. Thank you.
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hello, @dukesnuz
You can check this tutorial for allowing remote access to your MySQL database. You need to allow connection on the MySQL port which is 3306 by default.
https://www.digitalocean.com/community/tutorials/how-to-allow-remote-access-to-mysql
As for the mysql connection itself using ODBC you can check these two articles:
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-dsn-windows-5-2.html
https://dev.mysql.com/doc/refman/5.7/en/windows-and-ssh.html
https://help.interfaceware.com/v6/connect-to-mysql-from-windows-with-odbc
Hope this helps!
Regards, Alex
The answer by Alex is very good, I would also suggest that you check out this links more
https://www.digitalocean.com/community/tutorials/how-to-connect-to-a-mysql-server-remotely-with-mysql-workbench
Also, I found this article which is also very good and am sure that it’s what you are looking for Connect to MySql Using ODBC