This is not possible with the mysql database, as mysql doesn't support schemas. Schemas in mysql creates multiple databases - this means that you will have to create a new database for each client. Postgres is a much better solution for these types of things.
Regards, Andréas Den ons 19 sep. 2018 kl 09:11 skrev Devender Kumar <dev1en...@gmail.com>: > All this should be done using the MySQL database. > > On Wednesday, September 19, 2018 at 12:39:20 PM UTC+5:30, Devender Kumar > wrote: >> >> Hi, >> I need a help from you I wanna start a project which is a multitenant >> application and I want the tenant can register themselves and schema is >> created for him from the shared database across tenants. >> I want to make this application in Django I know all the terminology of >> how multitenancy can be achieved I just want to how to write the code for >> this as I have never played with schemas and other stuff. >> You refer to any project where I can get an insight, Any tutorial link >> for this project. >> Thanks >> Dev >> >> -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@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/41544da5-437e-443b-8c7f-29dc881e8853%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/41544da5-437e-443b-8c7f-29dc881e8853%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/CAK4qSCcziat0O8Ydabk688ruMaCWWooHXu8uG3%2BCHNMh6vYdQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.