Sorry but I just did the same and I needed to mention the db name:
change DAL connection string in app to:
db = DAL('mysql://user_name:password@mysql.server/database_name')
[for
pythonanywhere, the database_name is in the form user_
create a database on pythonanywhere
for excample:
Database host adress : mysql.server
Username : yourusername
Database Name : db1
Password : yourpassword
then go to your database modell db.py and change the default
from: db = DAL('sqlite://storage.sql
2 matches
Mail list logo