Reputation: 1068
I have an application deployed in pythonanywhere everything is running fine till now. Now I want to connect my app with the database as my application needs to interact with it. My .sql file is stored in my computer. How can I import it to the project's database in the pythonanywhere server ?
I have tried connecting that database using MySQL Workbench so that I can import from there but Workbench wasn't able to connect to that server.
Upvotes: 1
Views: 1347
Reputation: 676
There are two helpful instructions on PythonAnywhere, one about Backing up (and restoring) MySQL databases other about accessing your MySQL database from outside PythonAnywhere (you can do it using ssh tunnel).
Upvotes: 1