Connect to remote MySQL db from docker container
I'm working to containerize a Django 1.5.x application that connects to a MySQL DB on a separate server via ODBC: [mysql_default] database = DB_NAME driver = /usr/lib64/libmyodbc5.so server = REMOTE_DB_SERVER user = DB_USER password = DB_USER_PWD port = 3306 I'm able to run the Django app on my local machine (outside docker) with a connection to the remote DB via port forwarding & SSH: ssh -L 3307:127.0.0.1:3306 MYID@REMOTE_DB_SERVER I've set up a Docker container for the app using Centos 6.x, but can't get the MySQL connection working. The container has MySQL installed and the mysqld running.