install PyMySQL, after create a user e a databases in mysql terminal;
e.g:1º)create user 'root'@'localhost' identified by 'fish1777';
2º) create database Mydb;
3º) grant all privileges on Mydb.* to 'root'@'localhost' identified by
'fish1777';
use syncdb.
2015-01-25 6:04 GMT-02:00 olek.russ :
>
I also followed note for create schema ( have watched
https://www.youtube.com/watch?v=EL39BGSUkzw video in addition ) and got
success.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
For the record I solved this, I was mistaken there was no "mydb" schema in
MySQL. I created this schema and ran the "syncdb" command without any
problems.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
I have a virtualenv with Python 3.4, Django 1.7 and MySQL installed on
Windows 7.
I also have the MySQL / Python adapter installed and the database settings
in settings.py:
DATABASES = {
'default': {
'NAME': 'mydb',
'ENGINE': 'mysql.connector.django',
'USER': 'root',
4 matches
Mail list logo