I’m running my django project in WSL(ubuntu 22.04 LTS), recently moved from windows, when i create a db in windows and migrate the db tables are created but in linux the db itself when created in mysql terminal, not shown in mysql workbench?
The problem is that the project in windows was running fine with mysql but since i shifted to linux and using mysql workbench, the database isnt created in mysql wrorkbench from mysql terminal, seems like my project and mysql isnt connected. can anyone help? When i create a database in mysql terminal in my vscode with
mysql -u root -p
create database “xyz”;
the database is created and i migrate the tables in db but this database is just not visible in mysql workbench
I tried creating a db in mysql workbench and then adding that db name to settings.py but the db that is created in workbench isnt connected to django project
Asad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.