The solution is as follows:
[mysqld]
port = 3306
socket = /tmp/mysql.sock
…
skip-name-resolve # ignore the host name to access
lower_case_table_names = 1 # Ignore case of database table names
Restart Mysql problem solved