connect to database
ERROR: MySQL server has gone away
TRACE: