cant connect to mysql server through socket '/tmp/mysql.sock'
ln -s /var/lib/mysql.sock /tmp/mysql.sock
#Set the installation directory of MySQL basedir = /usr/local/mysql #Set the storage directory of MySQL database data datadir = /usr/local/mysql/data character-set-server=utf8 #Maximum connections allowed max_connections=200 port = 3306 # server_id = ..... socket = /tmp/mysql.sock #The default storage engine that will be used when creating new tables default-storage-engine=INNODB # Remove leading # to set options mainly useful for reporting servers. # The server defaults are faster for transactions and fast SELECTs. # Adjust sizes as needed, experiment to find the optimal values. # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M #sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES #explicit_defaults_for_timestamp=true