"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I need some more detail on the database configuration to get started on > TG. I am trying to follow along the Turbo Tunes tutorial, but I fail at > the tg-admin sql create step. > > I am using mysql, and i have set the dev.cfg as: > sqlobject.dburi="mysql://[EMAIL PROTECTED]/turboTunes" > > > I then run the command, and get the following (at the end of a long > error message): > ImportError: No module named MySQLdb
To use MySQL you have to have some driver to connect to it installed. How that is accomplished depends first on your operating system and second on how programs are installed in it. Since I'm not a MySQL user, I suppose that what you'll be wanting to install is what is returned by the first hit while googling for "python mysqldb": http://sourceforge.net/projects/mysql-python Install it and SQLObject should be able to connect to your database. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

