Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Django with the Drizzle database?

Tags:

django

drizzle

Has anyone experience in using Django with the Drizzle database?

The first GA version of Drizzle has just been released and from my understanding it should be be a good match for Django. Being a stripped down version of MySQL it still provides all the needed functionality and hopefully a better performance.

like image 766
dfoerster Avatar asked May 15 '26 15:05

dfoerster


2 Answers

To use the Django MySQL backend, you have to install the MySQLdb driver. When I install MySQLdb on a machine that has Drizzle installed (but not MySQL), I get this error: EnvironmentError: mysql_config not found. I believe this is the step where MySQLdb is looking for compiler options to build the client. We probably need a fork of the Django MySQL backend that uses a Python wrapper around libdrizzle.

like image 97
David Krisch Avatar answered May 17 '26 05:05

David Krisch


MySQLdb is playing just fine with Drizzle. We use it to work with SQLAlchemy. I can't speak to the issues you encountered, but I also tend to have both MySQL and Drizzle on my machines. Things built ok for me, but I'd be happy to help resolve any issues anyone else is having

like image 40
pcrews Avatar answered May 17 '26 04:05

pcrews



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!