Database

26 views
Skip to first unread message

ABHISHEK PARMAR

unread,
Jun 30, 2018, 9:05:39 AM6/30/18
to django...@googlegroups.com
Should i use postgres or mysql ?

Joshua Kayode

unread,
Jun 30, 2018, 4:21:44 PM6/30/18
to django...@googlegroups.com
Use postgresql,  but you can find reasons not to!,  the choice between MySQL and postgresql is more or less personal! Both have their strengths and weakness! 

On Jun 30, 2018 14:05, "ABHISHEK PARMAR" <150305...@paruluniversity.ac.in> wrote:
Should i use postgres or mysql ?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAErr1ZUERxGq26gkkhmPG_1iOdKwvMpHCoZdu2uJEhVhjNLXUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Mark Phillips

unread,
Jun 30, 2018, 4:32:35 PM6/30/18
to django users
Use whichever one you are more familiar with, unless there is a technical reason for your specific project to pick one over the other. Familiarity is important if you are just learning django, as you don't need too many learning curves at the same time. Sometimes, it is helpful to look at the tables that django creates to debug a problem. Knowing how to quickly access the db can be important. Or, sometimes injecting data into the db can help with debugging. At the end of the day, they are just tools, so use the one that you like the most. Personally, I prefer a left handed spanner the most....

Mark

On Sat, Jun 30, 2018 at 1:21 PM, Joshua Kayode <joshuak...@gmail.com> wrote:
Use postgresql,  but you can find reasons not to!,  the choice between MySQL and postgresql is more or less personal! Both have their strengths and weakness! 

On Jun 30, 2018 14:05, "ABHISHEK PARMAR" <150305105052@paruluniversity.ac.in> wrote:
Should i use postgres or mysql ?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAErr1ZUERxGq26gkkhmPG_1iOdKwvMpHCoZdu2uJEhVhjNLXUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Mike Dewhirst

unread,
Jun 30, 2018, 7:17:58 PM6/30/18
to django...@googlegroups.com
I've used both. If you have a choice use Postgres.

Mike

Connected by Motorola


ABHISHEK PARMAR <150305...@paruluniversity.ac.in> wrote:

Should i use postgres or mysql ?

--
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 django-users...@googlegroups.com.

Tomasz Knapik

unread,
Jul 1, 2018, 5:15:24 AM7/1/18
to django...@googlegroups.com, Mike Dewhirst
Django has support for Postgres-only features - https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/ - if you need any of them.
Also full text search is much easier to implement with Postgres in Django - https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/search/

Also I am not sure if you get transactions on MySQL without additional configuration. Worth making sure that you have transactions so you dont have to unpick faulty migrations manually.

In general it seems like Postgres is favoured in the ecosystem around Django, but worth checking what you have available on the server and taking decision based on it. Nothong really stops you from using either.

Reply all
Reply to author
Forward
0 new messages