sql error you are using safe update mode code example

Example 1: Superuser creation skipped due to not running in a TTY. You can run `manage.py createsuperuser` in your project to create one manually.

$ winpty python manage.py createsuperuser
//It should work by just appending 'winpty' before the command

Example 2: Error Code: 1290. The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

LOAD DATA LOCAL INFILE ...

Tags:

Sql Example