Posts

Showing posts with the label handshake

Django and Mysql 8: 2012, 'Error in server handshake'

Django and Mysql 8: 2012, 'Error in server handshake' I am trying to install Django on new developer machine running MacOS High Sierra with latest version of Mysql (Ver 8.0.11). When I try to: python manage.py runserver i get this error message: django.db.utils.OperationalError: (2012, 'Error in server handshake') Does anyone has any experience with this? I have installed and I am running virtual environment that I have created with python3.6. I have installed mysqlclient too but I can't find anyone with this issue.. If you have both MySQLdb and mysqlclient installed in the virtualenv, remove both, then install just the newest mysqlclient . – AKX Jul 2 at 6:48 MySQLdb mysqlclient mysqlclient Also, based on this Percona article, it seems MySQL 8 has changed authentication plugin defaults. per...