> I also went over to my local_settings.py file and changed: > DATABASE_NAME = os.path.join(DIRNAME, 'mydatabasename.db') >
This is the problem. Remove this line completely. > ran python manage.py syncdb and I got: > _mysql_exceptions.OperationalError: (1044, "Access denied for user > 'myusername'@'localhost' to database '/home/j3/satchmo/store/ > mydatabasename.db'") > In your local_settings.py, you're telling Django to connect to a MySQL database called '/home/j3/satchmo/store/mydatabasename.db'. MySQL database names are simple strings. The setting you had in your main settings.py file is (probably) right. Note that you'll need to have created the MySQL database before you can connect to it. Take a read of the Django docs on this, they're linked to in the tutorial. You'll probably benefit from doing just a little background reading on MySQL before you go much further - if you're familiar with the ideas of connecting to a database server with a username and password, rather than opening a database file like SQLite does, then you'll save yourself much head-scratching. Cheers, Dan -- Dan Fairs | [email protected] | www.fezconsulting.com -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
