Re: MySQL issues

2009-04-28 Thread 83nini
thanks it does really :) On 28 Apr, 14:58, Alex Robbins wrote: > Yeah, I think that is the problem. You have to execute > CREATE DATABASE books; > from the mysql command line. > Syncdb will make tables, but it won't make the initial database. > Hope that helps, > Alex > > On Apr 27, 4:04 am, goo

Re: MySQL issues

2009-04-28 Thread Alex Robbins
Yeah, I think that is the problem. You have to execute CREATE DATABASE books; from the mysql command line. Syncdb will make tables, but it won't make the initial database. Hope that helps, Alex On Apr 27, 4:04 am, google torp wrote: > Hi. > > I haven't used Django with mysql, but judging from yo

Re: MySQL issues

2009-04-27 Thread google torp
Hi. I haven't used Django with mysql, but judging from your error it sounds like you haven't created the database in mysql. Django probably cannot create a db like it can when you use sqlite, as it's only a file anwyays. So you need to use your mysql tool phpmyadmin or whatever you use and create

MySQL issues

2009-04-27 Thread 83nini
Hi guys, I'm working on the tutorial on www.djangobook.com. I've created a database using "manage.py starapp books" then i modified the "models.py" file to include classes where each class represents a column in the database. then i modified the "settings.py" file to include the following: DATAB