default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'DB_NAME', 'USER': 'DB_USER', 'PASSWORD': 'DB_PASSWORD', 'HOST': 'localhost', # Or an IP Address that your DB is hosted on 'PORT': '3306', } 2:-pip install mysqlclient
@ZakuroBanana Жыл бұрын
Good simple tutorial. Thank you.
@notalkcodeing3726 Жыл бұрын
Welcome bro more to come in future..keep supporting 😇
@mista_ia Жыл бұрын
I have to update a project that has been done with sqlite (using connect, execute, cursor commands) and it is time to get it on PROD but with MySQL. I thought I could see how to migrate codes and database from sqlite to mysql server on this video.
@notalkcodeing3726 Жыл бұрын
The video is for change the database to SQL lite to MYSQL only
@hinoki.mp43 ай бұрын
Hello, I'm in the same situation, have you found a way to migrate sqllite to mysql keeping its content? I would like to migrate to mysql but with the method shown you simply change the database, losing everything inside. thanks
@mista_ia3 ай бұрын
@@hinoki.mp4 unfortunately not, had to dump fake data afterward with a faker command
@syedm.ibrahimalishahgillan6302 Жыл бұрын
venv is not working:(
@notalkcodeing3726 Жыл бұрын
What's the error?? tell me .. I am happy to help you