Re: i want to change database sqllite to mysql but show error

2020-04-13 Thread myproblemsolution38
Just go to the settings.py file and make the following changes in Database section: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'your_DatabaseName', 'USER':'your_username', 'PASSWORD':'your_password', 'HOST':'localhost',

Re: i want to change database sqllite to mysql but show error

2020-04-12 Thread Ernest Thuku
May we see some of your files..precisely settings.py...and have you properly configured your MySQL app...either workbench or xampp? On Apr 12, 2020 20:53, "Andrew Fetting" wrote: > Have you tried > pip3 install mysqlclient > > On Sun, Apr 12, 2020, 7:36 AM Arun Sharma > wrote: > >> python

Re: i want to change database sqllite to mysql but show error

2020-04-12 Thread Andrew Fetting
Have you tried pip3 install mysqlclient On Sun, Apr 12, 2020, 7:36 AM Arun Sharma wrote: > python manage.py runserver > > > > Watching for file changes with StatReloader > Exception in thread django-main-thread: > Traceback (most recent call last): > File >

i want to change database sqllite to mysql but show error

2020-04-12 Thread Arun Sharma
python manage.py runserver Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "C:\Users\Arunkumar\PycharmProjects\app2\venv\lib\site-packages\django\db\backends\mysql\base.py", line 16, in import MySQLdb as