Skip to content Skip to sidebar Skip to footer

Sqlalchemy Connect To Vps Database

I am trying to connect to VPS mysql database from my PC. I use sqlalchemy framework, but I need establish SSH tunnel before connection. Usual way, when web app run on VPS: create_e

Solution 1:

Your MySQL server is listening to local connections only. To make it listen to outside connections:

  1. Edit the /etc/mysl/my.cnf file
  2. Comment out the line bind-address = 127.0.0.1
  3. Restart mysqld

Post a Comment for "Sqlalchemy Connect To Vps Database"