Solved. The problem was PyMySQL for python 2.7 (used by my web2py). With pip install PyMySQL it install for Python 3.8.
I installed PyMySQL for python 2.7 with: wget https://bootstrap.pypa.io/pip/2.7/get-pip.py python2 get-pip.py python2 -m pip install PyMySQL Il giorno venerdì 25 marzo 2022 alle 23:13:20 UTC+1 Fabio Ceccarani ha scritto: > Hi, > I updated Linux Mint to last versione and MySQL was updated from version > 5.7 to version 8.0. > Now my application return this error: > <class 'gluon.contrib.pymysql.err.InternalError'> (1043, u'Bad handshake') > > I tried several possible solutions, install and reinstall pymysql, etc, > etc... but nothing! > > I tried to install mysq 5.7 but now it's hard to go back! > > Someone encountered the same problem??! > > Thanks! > Fabio > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/9c709522-aa3c-4543-b15b-ec29719b5513n%40googlegroups.com.