title: Data truncate error when using manage.py migrate on fresh django installation
body: <p>I have spent hours trying to get a vagrant django development environment running on my Windows 7 machine.</p>
  
  <p>So far I have:</p>
  
  <ul>
  <li>Used vagrant to create an ubuntu vm</li>
  <li>Installed python 3.4.3</li>
  <li>Installed mariadb 5.5</li>
  <li>Installed django 1.9</li>
  <li>Installed mysql-connector-python 2.1.3</li>
  <li>Created a new DB in mysql</li>
  </ul>
  
  <p>On a fresh django install, when I try to run <code>python manage.py migrate</code>, I get the following error:</p>
  
  <pre><code>Operations to perform:
    Apply all migrations: sessions, auth, contenttypes, admin
  Running migrations:
    Rendering model states... DONE
    Applying contenttypes.0001_initial...Traceback (most recent call last):
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/django/base.py", line 177, in _execute_wrapper
      return method(query, args)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/cursor.py", line 515, in execute
      self._handle_result(self._connection.cmd_query(stmt))
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/cursor.py", line 434, in _handle_result
      self._handle_noresultset(result)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/cursor.py", line 404, in _handle_noresultset
      self._warnings[0][1], self._warnings[0][2])
  mysql.connector.errors.DatabaseError: 1265: Data truncated for column 'applied' at row 1
  </code></pre>
  
  <p>During handling of the above exception, another exception occurred:</p>
  
  <pre><code>Traceback (most recent call last):
    File "manage.py", line 10, in &lt;module&gt;
      execute_from_command_line(sys.argv)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/core/management/__init__.py", line 350, in execute_from_command_line
      utility.execute()
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/core/management/__init__.py", line 342, in execute
      self.fetch_command(subcommand).run_from_argv(self.argv)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/core/management/base.py", line 348, in run_from_argv
      self.execute(*args, **cmd_options)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/core/management/base.py", line 399, in execute
      output = self.handle(*args, **options)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/core/management/commands/migrate.py", line 200, in handle
      executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/migrations/executor.py", line 92, in migrate
      self._migrate_all_forwards(plan, full_plan, fake=fake, fake_initial=fake_initial)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/migrations/executor.py", line 121, in _migrate_all_forwards
      state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/migrations/executor.py", line 204, in apply_migration
      self.recorder.record_applied(migration.app_label, migration.name)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/migrations/recorder.py", line 73, in record_applied
      self.migration_qs.create(app=app, name=name)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/query.py", line 401, in create
      obj.save(force_insert=True, using=self.db)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/base.py", line 700, in save
      force_update=force_update, update_fields=update_fields)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/base.py", line 728, in save_base
      updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/base.py", line 812, in _save_table
      result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/base.py", line 851, in _do_insert
      using=using, raw=raw)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/manager.py", line 122, in manager_method
      return getattr(self.get_queryset(), name)(*args, **kwargs)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/query.py", line 1039, in _insert
      return query.get_compiler(using=using).execute_sql(return_id)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 1064, in execute_sql
      cursor.execute(sql, params)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/backends/utils.py", line 79, in execute
      return super(CursorDebugWrapper, self).execute(sql, params)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/db/backends/utils.py", line 64, in execute
      return self.cursor.execute(sql, params)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/django/base.py", line 227, in execute
      return self._execute_wrapper(self.cursor.execute, query, new_args)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/django/base.py", line 195, in _execute_wrapper
      utils.DatabaseError(err.msg), sys.exc_info()[2])
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/django/utils/six.py", line 685, in reraise
      raise value.with_traceback(tb)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/django/base.py", line 177, in _execute_wrapper
      return method(query, args)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/cursor.py", line 515, in execute
      self._handle_result(self._connection.cmd_query(stmt))
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/cursor.py", line 434, in _handle_result
      self._handle_noresultset(result)
    File "/home/vagrant/djangoenv/lib/python3.4/site-packages/mysql/connector/cursor.py", line 404, in _handle_noresultset
      self._warnings[0][1], self._warnings[0][2])
  django.db.utils.DatabaseError: Data truncated for column 'applied' at row 1
  </code></pre>
  
  <p>I couldn't find anything that had that exact error. Anyone have any ideas?</p>