[Answered ]-Mysql is not recognized as a internal or external command

1👍

Just use 'ENGINE': 'mysql',. That’s how my current app has it.

1👍

This simply means that the ‘mysql’ excutable command file (mysql.exe) was not added to your system path therefore the system was unable to locate this file. To add the ‘mysql’ to system path try to locate the ‘mysql’ resident folder.

Seems you are using windows, here are the steps:

1) go to Control Panel -> System and Security -> System

2)paste “mysql resident folder path” into Variable value: field of Edit System Variable pop up.

0👍

python manage.py dbshell is just a shortcut for mysql -d DATABASENAME -u USERNAME -p PASSWORD and you will need to have mysql installed on your system and that mysql command should be able to run from the console.

👤lprsd

Leave a comment