Re: django 1.10.2 mysql 5.6.34 which connector?

2016-10-13 Thread Andres Marin
Hi, Thanks... The steps to solve my issue: install mysqlclient: pip install mysqlclient thanks Tim Graham Configure in settings: 'ENGINE': 'django.db.backends.mysql', Thanks Ricardo Prado Now, all is working fine! Regards! AYMG On Thursday, October 13, 2016 at 8:37:52 PM UTC-5, Ricardo

Re: django 1.10.2 mysql 5.6.34 which connector?

2016-10-13 Thread Ricardo Prado
First you can install python tools and other librarys If you using Ubuntu or Debian, check this steps sudo apt-get install python-setuptools apache2 libapache2-mod-wsgi sudo apt-get install python-pip sudo apt-get install *python-dev libmysqlclient-dev* Don't use 'ENGINE':

Re: django 1.10.2 mysql 5.6.34 which connector?

2016-10-13 Thread Tim Graham
Try mysqlclient as mentioned in https://docs.djangoproject.com/en/stable/ref/databases/#mysql-db-api-drivers. As it says there, MySQL Connector/Python is developed by Oracle and may not support the most recent Django releases. On Thursday, October 13, 2016 at 6:47:02 PM UTC-4, Andres Marin

django 1.10.2 mysql 5.6.34 which connector?

2016-10-13 Thread Andres Marin
Dear all, I'm trying to learn about django, follow the documentation, in my first: python manage.py migrate all time get this error: File "/usr/local/lib/python3.5/site-packages/mysql/connector/django/operations.py", line 223, in bulk_insert_sql return "VALUES " + ",