Re: Mysql for Django

2023-09-25 Thread Mansour Abdullahi Abdirahman
Yes absolutely you can use it , what kind of error have u faced? On Mon, 25 Sept 2023 at 03:46, DieHardMan 300 wrote: > Do you mean you can't use mysqlclient with Django? Do you already install > homebrew in MAC? Do you already install mysql server using homebrew? > ในวันที่ วันจันทร์ที่ 25

Re: Mysql for Django

2023-09-24 Thread Muhammed Lawal
Download MySQL server at https://dev.mysql.com/downloads/mysql/ It will most likely come with mysqlclient but if not, you can download mysqlclient using homebrew, `brew install mysql-client`. You can check out the guide here at

Re: Mysql for Django

2023-09-24 Thread DieHardMan 300
Do you mean you can't use mysqlclient with Django? Do you already install homebrew in MAC? Do you already install mysql server using homebrew? ในวันที่ วันจันทร์ที่ 25 กันยายน ค.ศ. 2023 เวลา 3 นาฬิกา 50 นาที 25 วินาที UTC+7 Lakhjeet Samra เขียนว่า: > Hi Guys, > I am new to Django > I use Mac ,

Re: Mysql for Django

2023-09-24 Thread Sebastian Jung
Hello, in Linux and Mac you can use DBeaver https://dbeaver.io/download/ This is great app for administration of all DBMS. Regards Am So., 24. Sept. 2023 um 22:50 Uhr schrieb Lakhjeet Samra : > Hi Guys, > I am new to Django > I use Mac , > I am unable to down mysqlclient for Django project

Mysql for Django

2023-09-24 Thread Lakhjeet Samra
Hi Guys, I am new to Django I use Mac , I am unable to down mysqlclient for Django project any suggestions I have Mysql workbench installed Is it right. Thank You Lakhjeet -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: i am facing problem with my project to update data in mysql using django

2022-06-20 Thread andrew snyder
can you conform that database user has permissions to update data in all three databases using a mysql client? On Thursday, June 16, 2022 at 12:02:00 PM UTC-4 rafiurra...@gmail.com wrote: > here is my problem description link in stackoverflow > if anyone can help me, i will be gratefull > >

i am facing problem with my project to update data in mysql using django

2022-06-16 Thread rafiur rahman rafit
here is my problem description link in stackoverflow if anyone can help me, i will be gratefull linkproblem link -- You received this message because you are subscribed to the Google Groups "Django

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
t;>>>> C:\Users\ansh>pip install mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl >>>>> Requirement 'mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl' looks like a >>>>> filename, >>>>> but the file does not exist >>>>> mysqlclient-1.3.13-c

Re: How to connect mysql with django

2018-11-11 Thread Ansh Srivastava
all mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl >>>> Requirement 'mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl' looks like a >>>> filename, >>>> but the file does not exist >>>> mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl is not a supported wheel on >

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
;> filename, >>> but the file does not exist >>> mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl is not a supported wheel on >>> this pla >>> tform. >>> >>> -- Forwarded message - >>> From: Jeff Williams >>> Date: Sun, Nov 11, 2018

Re: How to connect mysql with django

2018-11-11 Thread Ansh Srivastava
not exist >> mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl is not a supported wheel on >> this pla >> tform. >> >> -- Forwarded message - >> From: Jeff Williams >> Date: Sun, Nov 11, 2018 at 11:43 PM >> Subject: Re: How to connect mysq

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
ams > Date: Sun, Nov 11, 2018 at 11:43 PM > Subject: Re: How to connect mysql with django > To: > > > Did you download the .whl file first? > > On Sun, Nov 11, 2018 at 11:57 AM Ansh Srivastava < > ansh.srivastav...@gmail.com> wrote: > >> Thank you @pujiar

Re: How to connect mysql with django

2018-11-11 Thread Ansh Srivastava
whl is not a supported wheel on this pla tform. -- Forwarded message - From: Jeff Williams Date: Sun, Nov 11, 2018 at 11:43 PM Subject: Re: How to connect mysql with django To: Did you download the .whl file first? On Sun, Nov 11, 2018 at 11:57 AM Ansh Srivastava < ansh.srivastav...@gma

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
.3.13-cp37-cp37m-win_amd64.whl >> >> regards >> >> Pada Minggu, 11 November 2018 18.57.11 UTC+7, ansh.srivastav999 menulis: >>> >>> I m tryin' to connect mysql database with django, for that, I did this:- >>> >>> python manage.py ru

Re: How to connect mysql with django

2018-11-11 Thread Ansh Srivastava
37m-win_amd64.whl > try : pip install mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl > > regards > > Pada Minggu, 11 November 2018 18.57.11 UTC+7, ansh.srivastav999 menulis: >> >> I m tryin' to connect mysql database with django, for that, I did this:- >> >>

Re: How to connect mysql with django

2018-11-11 Thread pujiarahman
, ansh.srivastav999 menulis: > > I m tryin' to connect mysql database with django, for that, I did this:- > > python manage.py runserver > > but, this new mess came around sayin' :- > > (django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. >

How to connect mysql with django

2018-11-11 Thread Ansh Srivastava
I m tryin' to connect mysql database with django, for that, I did this:- python manage.py runserver but, this new mess came around sayin' :- (django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?). But when I m tryin' to install mysqlclient

Re: what if i want to use mysql with django?

2018-10-08 Thread Muhammad Tahir
. you can use mysql, oracle, postgres & so on. just search >> on Google or see the doc. >> >> On Mon, Oct 8, 2018, 6:01 PM Muhammad Tahir > > wrote: >> >>> is PostgreSQL the only DB we can use with django? what if i want to use >>> mysql wi

Re: what if i want to use mysql with django?

2018-10-08 Thread Rizwan Ahmed
8, 2018, 6:01 PM Muhammad Tahir > wrote: > >> is PostgreSQL the only DB we can use with django? what if i want to use >> mysql with django? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" gro

Re: what if i want to use mysql with django?

2018-10-08 Thread Nishan Akib
of course not. you can use mysql, oracle, postgres & so on. just search on Google or see the doc. On Mon, Oct 8, 2018, 6:01 PM Muhammad Tahir wrote: > is PostgreSQL the only DB we can use with django? what if i want to use > mysql with django? > > -- > You received this

what if i want to use mysql with django?

2018-10-08 Thread Muhammad Tahir
is PostgreSQL the only DB we can use with django? what if i want to use mysql with django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to dj

(secure-auth) very old mysql. old django, up-to-date workstation

2015-11-18 Thread 술욱
Hello, mysql server 3 django 1.6.11 workstation: ubuntu wily (15.10) mysql client 5.6.27 I need to make Django recognize secure-auth=false or skip-secure-auth=true but so far I couldn't I tried in project/settings.py 'OPTIONS': { 'skip-secure-auth': 'true

Re: set-up and usage of mysql in django

2013-10-21 Thread Leonardo Giordani
ullaga...@gmail.com> > Pls let me know how to use mysql with django with few examples... I'm new > to django. > > Thanks > mahantesh > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscr

set-up and usage of mysql in django

2013-10-20 Thread Mahantesh U
Pls let me know how to use mysql with django with few examples... I'm new to django. Thanks mahantesh -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: PostgresSQL or MySql with django?

2013-03-23 Thread frocco
I Just downloaded a product called RazorSQL http://www.razorsql.com This product has conversion from MySql to Postgresql. Works great. On Monday, March 18, 2013 11:30:35 AM UTC-4, frocco wrote: > > Hello, > > What is the recommended database for django? > > I have used MySQL, but am interested

Re: PostgresSQL or MySql with django?

2013-03-21 Thread Alan Johnson
om> > wrote: > > Frocco, > > > > No, he's saying you can have two databases set up at the same time. > > You can have X databases (I presume). > > > > Cheers > > L. > > > > On 22 March 2013 01:13, frocco <far...@gmail.com > wrote:

Re: PostgresSQL or MySql with django?

2013-03-21 Thread Shawn Milochik
ail.com> wrote: >> Hi Alan, >> >> so you are saying I should connect django to mysql first and then generate >> the script. >> Then connect django to postgresql and do the import? >> Actually, I think that's exactly what he meant. If MySQL is working, do t

Re: PostgresSQL or MySql with django?

2013-03-21 Thread Lachlan Musicman
Frocco, No, he's saying you can have two databases set up at the same time. You can have X databases (I presume). Cheers L. On 22 March 2013 01:13, frocco <faro...@gmail.com> wrote: > Hi Alan, > > so you are saying I should connect django to mysql first and then genera

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
Hi Alan, so you are saying I should connect django to mysql first and then generate the script. Then connect django to postgresql and do the import? On Thursday, March 21, 2013 9:58:37 AM UTC-4, Alan Johnson wrote: > > I want to echo the support for Postgres. I find it to be a bit more

Re: PostgresSQL or MySql with django?

2013-03-21 Thread Alan Johnson
I want to echo the support for Postgres. I find it to be a bit more arcane than MySQL, but even in an extremely DB intensive app, Django's ORM is so slick that I rarely have to muck around in Postgres land. I think it's * slightly* better supported by Django, if you need to use things like

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
rom:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *frocco > *Sent:* 21 March 2013 13:06 > *To:* django...@googlegroups.com > *Subject:* Re: PostgresSQL or MySql with django? > > > > Has anyone used this? > > > > https://github.com/l

Re: PostgresSQL or MySql with django?

2013-03-21 Thread Tom Evans
On Thu, Mar 21, 2013 at 1:06 PM, frocco wrote: > Has anyone used this? > > https://github.com/lanyrd/mysql-postgresql-converter/ > > I cannot get this working, says cannot find the file > Why not use dumpdata as I suggested? Add your postgresql database connection in Django as

RE: PostgresSQL or MySql with django?

2013-03-21 Thread Patrick Craston
d it can't find the script. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of frocco Sent: 21 March 2013 13:06 To: django-users@googlegroups.com Subject: Re: PostgresSQL or MySql with django? Has anyone used this? https://github.com/lanyrd/mysql-postgresql-con

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
>> obviously not aware of this) >> >> HTH >> >> Patrick >> >> -Original Message- >> From: django...@googlegroups.com [mailto:django...@googlegroups.com] On >> Behalf Of Tom Evans >> Sent: 20 March 2013 14:12 >> To: djang

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
gres - py-mysql2pgsql is > obviously not aware of this) > > HTH > > Patrick > > -Original Message- > From: django...@googlegroups.com [mailto: > django...@googlegroups.com ] On Behalf Of Tom Evans > Sent: 20 March 2013 14:12 > To: django...@googlegroups

Re: PostgresSQL or MySql with django?

2013-03-20 Thread Jian Chang
postgres! do what you like 2013/3/18 frocco > Hello, > > What is the recommended database for django? > > I have used MySQL, but am interested in Postgres. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Re: PostgresSQL or MySql with django?

2013-03-20 Thread Felipe Prenholato
I'll bookmark this answer and show to anyone who ask about mysql \m/ Felipe 'chronos' Prenholato. Linux User nº 405489 Home page: http://devwithpassion.com | http://chronosbox.org/blog GitHub: http://github.com/chronossc/ | Twitter: http://twitter.com/chronossc 2013/3/18 Russell Keith-Magee

RE: PostgresSQL or MySql with django?

2013-03-20 Thread Patrick Craston
Message- From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Tom Evans Sent: 20 March 2013 14:12 To: django-users@googlegroups.com Subject: Re: PostgresSQL or MySql with django? On Wed, Mar 20, 2013 at 1:54 PM, frocco <faro...@gmail.com> wrote: &

Re: PostgresSQL or MySql with django?

2013-03-20 Thread Tom Evans
On Wed, Mar 20, 2013 at 1:54 PM, frocco wrote: > Hello, > > I know this is not django related, but can someone help me with the syntax > to port mysql to postgresql? > I tried the mysqldump command with the postgresql compatibility option, but > I still cannot import the data.

Re: PostgresSQL or MySql with django?

2013-03-20 Thread frocco
Hello, I know this is not django related, but can someone help me with the syntax to port mysql to postgresql? I tried the mysqldump command with the postgresql compatibility option, but I still cannot import the data. Thanks On Monday, March 18, 2013 11:30:35 AM UTC-4, frocco wrote: > >

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Christophe Pettus
On Mar 18, 2013, at 4:50 PM, Russell Keith-Magee wrote: > Summary - if you issue a SELECT query that contains an "WHERE X IS NONE" > clause, and nothing matches the SELECT, and an object was inserted by the > last statement, the SELECT query returns *the primary key of the object that > was

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Lachlan Musicman
On 19 March 2013 10:50, Russell Keith-Magee wrote: > On Tue, Mar 19, 2013 at 12:07 AM, Philip Goh >> In the end, if you're asking this question you can't go far wrong if you >> toss a coin and pick one. > > Much of a muchness? They *really*

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Russell Keith-Magee
On Tue, Mar 19, 2013 at 12:07 AM, Philip Goh wrote: > They're much of a muchness. I've favoured Postgres because it seems more > straightforward as there aren't multiple distributions and crucially > multiple storage engines to worry about. In MySQL's favour, Amazon RDS >

Re: PostgresSQL or MySql with django?

2013-03-18 Thread frocco
Thanks, I purchased this book, I was looking for postgresSQL tutorial On Monday, March 18, 2013 12:38:59 PM UTC-4, Lee Hinde wrote: > > > On Mar 18, 2013, at 9:34 AM, frocco > wrote: > > > Thank you for your feedback. > > Other than the docs, is there a good ebook to

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Chris Streeter
I'd add to this that if you are interested in either running with an async worker like gevent or with Python 3 support, MySQL is a no-go. The main MySQL connector, MySQLdb, doesn't yet support Python 3; work is forthcoming in a branch, though no timeline is given. And if you want to have some sort

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Lee Hinde
On Mar 18, 2013, at 9:34 AM, frocco wrote: > Thank you for your feedback. > Other than the docs, is there a good ebook to learn the basics. I just > purchased navicat to use. > https://django.2scoops.org/ -- You received this message because you are subscribed to the

Re: PostgresSQL or MySql with django?

2013-03-18 Thread frocco
Thank you for your feedback. Other than the docs, is there a good ebook to learn the basics. I just purchased navicat to use. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Shawn Milochik
Postgres. Just from conversations I've seen in the community, MySQL has a thousand edge-cases which cause problems. From previous conversations on thsi topic, I think more people use Postgres. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Philip Goh
They're much of a muchness. I've favoured Postgres because it seems more straightforward as there aren't multiple distributions and crucially multiple storage engines to worry about. In MySQL's favour, Amazon RDS makes it incredibly simple to set up a scalable and reliable database so bear

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Matthias Müller
Make a +1 for postgres. I like the licensemodel of PG more than the license model of Mysql. There's a big community behind (no big company) and there is only one version. Mysql confuses me with the different versions (MariaDB, MySQL..). Since PG has the Hot-Stream-Feature it became more and more

PostgresSQL or MySql with django?

2013-03-18 Thread frocco
Hello, What is the recommended database for django? I have used MySQL, but am interested in Postgres. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Fred Stluka
we need no Windows or Gates. On 9/22/12 5:28 PM, Fred Stluka wrote: Django users, What's the latest on the easiest way to access MySQL from Django on Mac OS X 10.6.8 (Snow Leopard)?

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Fred Stluka
/bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates. On 9/22/12 5:28 PM, Fred Stluka wrote: Django users, What's the latest on the easiest way to acces

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Chris Streeter
- >> Fred Stluka -- mailt...@bristle.com -- http://bristle.com/~fred/ >> Bristle Software, Inc -- http://bristle.com -- Glad to be of service! >> Open Source: Without walls and fences, we need no Windows or Gates. >> -- >> >> On 9/

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Andrew Macgregor
-- > Fred Stluka -- mailt...@bristle.com -- > http://bristle.com/~fred/ > Bristle Software, Inc -- http://bristle.com -- Glad to be of service! > Open Source: Without walls and fences, we need no Windows or Gates. > -- > > On 9/22/12 5:28 PM, Fred S

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Fred Stluka
the latest on the easiest way to access MySQL from Django on Mac OS X 10.6.8 (Snow Leopard)? I've Googled lots of info, but some may be outdated. Seems to be more complicated than it should be, especially since everything else to do with Django has been so easy. Here's what I've done and learned

Easiest way to access MySQL from Django on Mac OS X?...

2012-09-22 Thread Fred Stluka
Django users, What's the latest on the easiest way to access MySQL from Django on Mac OS X 10.6.8 (Snow Leopard)? I've Googled lots of info, but some may be outdated. Seems to be more complicated than it should be, especially since everything else to do with Django has been so easy. Here's

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-14 Thread Cal Leeming [Simplicity Media Ltd]
On Thu, Jul 14, 2011 at 2:17 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > On 14 juil, 02:24, "Cal Leeming [Simplicity Media Ltd]" > wrote: > > On 14 Jul 2011 00:13, "bruno desthuilliers" < > bruno.desthuilli...@gmail.com> > > wrote: > >>

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-14 Thread bruno desthuilliers
On 14 juil, 02:24, "Cal Leeming [Simplicity Media Ltd]" wrote: > On 14 Jul 2011 00:13, "bruno desthuilliers" > wrote: >> And FWIW, did you try the obvious: > >> return Session.objects.filter( >>            

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-14 Thread Cal Leeming [Simplicity Media Ltd]
On 14 Jul 2011 03:11, "Andre Terra" wrote: > > PostgreSQL or bust. Hehe, a lot of people have suggested using PostgreSQL, and in all fairness I do now understand some of the arguments in the MySQL vs debate.. Until i find something really really wrong with mysql, ill

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-13 Thread Andre Terra
PostgreSQL or bust. On Wed, Jul 13, 2011 at 9:24 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > > On 14 Jul 2011 00:13, "bruno desthuilliers" > wrote: > > > > On 13 juil, 21:37, "Cal Leeming [Simplicity Media Ltd]" > >

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-13 Thread Cal Leeming [Simplicity Media Ltd]
On 14 Jul 2011 00:13, "bruno desthuilliers" wrote: > > On 13 juil, 21:37, "Cal Leeming [Simplicity Media Ltd]" > wrote: > > > _users = map(lambda x: x.get('memberid'), Members.objects.filter( > > username =

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-13 Thread bruno desthuilliers
On 13 juil, 21:37, "Cal Leeming [Simplicity Media Ltd]" wrote: >         _users = map(lambda x: x.get('memberid'), Members.objects.filter( >             username = self.username >         ).values('memberid')) What's wrong with values_list ? member_ids =

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-13 Thread Cal Leeming [Simplicity Media Ltd]
Sorry, let me rephrase to avoid confusion. The original query I showed took about 4 seconds in total. The modified query underneath took around 0.2s in total. Cal On Wed, Jul 13, 2011 at 11:08 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > The first

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-13 Thread Cal Leeming [Simplicity Media Ltd]
The first query took around 4 seconds, the latter took around 0.2s. :) On 13 Jul 2011 21:15, "Andre Terra" wrote: > On Wed, Jul 13, 2011 at 4:37 PM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > > (...) > > >> ** >> *This original

Re: Some more curious performance issues between MySQL and Django ORM

2011-07-13 Thread Andre Terra
On Wed, Jul 13, 2011 at 4:37 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: (...) > ** > *This original query took 4 seconds to complete:* > > # return sessions for all subscriptions under this username > _users = Members.objects.filter( >

Some more curious performance issues between MySQL and Django ORM

2011-07-13 Thread Cal Leeming [Simplicity Media Ltd]
Most of you will probably read this and say "duh", so this is aimed more at people who haven't had experience with using large data sets in Django. This isn't necessarily a bug or a problem with the ORM (although it would be nice if it could try and utilize little gotcha's like this), it just

Re: mysql and Django

2010-10-18 Thread emma
Thanks a lot! I have installed the new mysql-python under my home directory and change PYTHONPATH. Now Django works well. Cheers. On Oct 16, 1:01 am, David wrote: > I think there is some confusion here. I'm guessing you are using mysql- > python v1.2.1 since a 1.x mysql

Re: mysql and Django

2010-10-15 Thread David
I think there is some confusion here. I'm guessing you are using mysql- python v1.2.1 since a 1.x mysql version would probably date back to the mid to late 90s. Ask the admin if it is possible to upgrade mysql- python for which you do not need to upgrade MySQL itself or even take down the

mysql and Django

2010-10-15 Thread emma
Hi, the linux server of my company has mysql 1.2.1, which is too old for Django. However, the administrator didn't want to upgrade it. I have to install mysql 5.1.51 under my home directory. I did that successfully, but Django still complain about the older mysql. Do you know if there is a way to

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-04-01 Thread Guillaume Carbonneau
I too am interested in seeing this patch. I'm getting lots of idle connections in postgres On Mar 31, 5:26 am, J wrote: > Hello Michael, > > Would you share your temp patch here? > > TIA, > > J > > On Mar 20, 12:52 am, MikeL wrote: > > > I wasn't

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-31 Thread J
Hello Michael, Would you share your temp patch here? TIA, J On Mar 20, 12:52 am, MikeL wrote: > I wasn't sure where this stuff was being tracked, but I did find a > circular reference in the database wrapper. The DatabaseCreation and > DatabaseIntrospection objects

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-19 Thread MikeL
I wasn't sure where this stuff was being tracked, but I did find a circular reference in the database wrapper. The DatabaseCreation and DatabaseIntrospection objects being created in the MySQL wrapper where passing references of itself, but there wasn't a per-defined method for removing those

Re: Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-19 Thread Alex Gaynor
On Thu, Mar 19, 2009 at 5:06 PM, MikeL wrote: > > I'm using the code from: > > http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/ > > After repeated use, there can be over a hundred idling connection to > MySQL for both production and development

Using _default_manager in a model causes many idle MySQL connections. (Django 1.0)

2009-03-19 Thread MikeL
I'm using the code from: http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/ After repeated use, there can be over a hundred idling connection to MySQL for both production and development builds. Removing the Multiple DB in the model causes the symptoms to stop. I've been

Re: unicode/ut8 input in mysql via django models

2008-12-11 Thread I.A
Hi, I see the documentation pointed out by Karen says: "All of Django's database backends automatically convert Unicode strings into the appropriate encoding for talking to the database. They also automatically convert strings retrieved from the database into Python Unicode strings. You don't

Re: unicode/ut8 input in mysql via django models

2008-12-11 Thread Karen Tracey
On Thu, Dec 11, 2008 at 10:02 PM, I.A wrote: > > Hi, > > I'm wondering the correct way to save unicode data in MySQL through > django's models. > The application I'm building reads a raw email and then stores the > text data into the database. I process the email like so: >

Re: unicode/ut8 input in mysql via django models

2008-12-11 Thread Malcolm Tredinnick
On Thu, 2008-12-11 at 19:02 -0800, I.A wrote: > Hi, > > I'm wondering the correct way to save unicode data in MySQL through > django's models. > The application I'm building reads a raw email and then stores the > text data into the database. I process the email like so: > > import email >

unicode/ut8 input in mysql via django models

2008-12-11 Thread I.A
Hi, I'm wondering the correct way to save unicode data in MySQL through django's models. The application I'm building reads a raw email and then stores the text data into the database. I process the email like so: import email mess822 = email.message_from_string(email_raw_data)

Re: Mysql with Django on Jython

2008-10-12 Thread Karen Tracey
On Sun, Oct 12, 2008 at 2:58 PM, Hingarajiya,Ravi <[EMAIL PROTECTED]>wrote: > Hi All, > > I am using Jython for Django. > > I want to know that how to connect mysql to Django on Jython. > > Thanks in Advance > You asked the same question yesterday, and nobody an

Mysql with Django on Jython

2008-10-12 Thread Hingarajiya,Ravi
Hi All, I am using Jython for Django. I want to know that how to connect mysql to Django on Jython. Thanks in Advance Regards, Ravi Hingarajiya. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: id problem with mysql and django models

2008-08-30 Thread eniac
Thanks for the advice ! Everhting seems to work fine now. Only when I enter s.id it return nothing and when I print s.id it returns None. Guess that's normal since the s-object hasn't been saved yet ? On Aug 30, 7:13 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2008-08-30 at 06:56

Re: id problem with mysql and django models

2008-08-30 Thread Malcolm Tredinnick
On Sat, 2008-08-30 at 06:56 -0700, eniac wrote: > Hello, > > I'm using django 0.96.1 on ubuntu. > I'm going to describe the steps I went through until I encountered > something odd. > > I create a model: > > class shoutbox(models.Model): > name = models.CharField(maxlength=15) >

id problem with mysql and django models

2008-08-30 Thread eniac
Hello, I'm using django 0.96.1 on ubuntu. I'm going to describe the steps I went through until I encountered something odd. I create a model: class shoutbox(models.Model): name = models.CharField(maxlength=15) shout = models.CharField(maxlength=256) pub_date =

Re: Revised: datetime formatting (mysql vs. django)

2008-08-29 Thread Steve Potter
I can't say for sure, but I believe that the now button in the admin is a javascript. So I think that is where you need to look to control the output. Steve On Aug 29, 4:14 pm, Gerard Petersen <[EMAIL PROTECTED]> wrote: > Hi All, > > Im *still* :-( trying to get the date format from

Revised: datetime formatting (mysql vs. django)

2008-08-29 Thread Gerard Petersen
Hi All, Im *still* :-( trying to get the date format from -mm-dd to dd-mm- After a major dig into mysql, it seems that the date format in it's tables is always -mm-dd. Normally, depending on your locale, date and/or time stamps are formatted on the fly. I changed all the date

Re: data field error running mysql 5.0.45 django 0.96.1

2008-05-22 Thread unixdude_from_mars
e is an extra set of quotes around 2007, as though > the 'q' value you retrieve from the GET parameters is enclosed in quotes. I > wouldn't expect this query to work without first getting rid of the extra > quotes. > > The second problem is that Django's icontains comparison maps to MySQL's

Re: data field error running mysql 5.0.45 django 0.96.1

2008-04-28 Thread Karen Tracey
a DateField is not a string datatype. So you are comparing mismatched types, and this generates a warning from MySQL. You can see this with just the mysql command, no Django involved (on my own DB): Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5055 Server version:

data field error running mysql 5.0.45 django 0.96.1

2008-04-28 Thread unixdude_from_mars
I am attempting to query my database for a DateField. I use the following lines to set the qset in my view code. query = request.GET.get('q','') if query: ( Q(end__icontains=query) | Q(maintenance_contractor__name__icontains=query) | Q(purchase_order__icontains=query) )