[jifty-devel] MySQL and jifty --setup

David Brunton dbrunton at yahoo.com
Mon Mar 5 16:46:42 EST 2007


Phew, that was tough!

MySQL's error string is "Unknown database", and Jifty was testing for "unknown database".  I added a /i after the regex, and it works fine for me.  I can't imagine anything it would break in other databases, but I tested with SQLite and Postgres, and both seemed to work fine.

-db.

----- Original Message ----
From: David Brunton <dbrunton at yahoo.com>
To: Nifty apps in a Jiffy <jifty-devel at lists.jifty.org>
Sent: Monday, March 5, 2007 4:30:25 PM
Subject: Re: [jifty-devel] MySQL and jifty --setup

From: Jesse Vincent <jesse at bestpractical.com>

>jifty schema --setup 

>should do the right thing on every database. So not doing it on MySQL 5
>is a bug and I'd rather fix the code than the docs ;)

Yup, I just wasn't sure if the bug was in the docs or the code.  I'm installing Postgres now, so I can at least see to it that I don't break SQLite and Postgres while fixing MySQL.

-db.





 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
_______________________________________________
jifty-devel mailing list
jifty-devel at lists.jifty.org
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel





 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 


More information about the jifty-devel mailing list