Solution is bad default port:the example from peewee doc is
# Connect to a MySQL database on network.mysql_db = MySQLDatabase('my_app', user='app', password='db_password', host='10.1.0.8', port=3316)
but defaul port is 3306