#2006 MySQL Server has gone away error in Wamp

I’m using XAMPP on Windows and had the same problem. I thought it was the timeout variable but it was max_allowed_packet. This has fixed it: # note the change was made at this section [mysqld] port= 3306 socket= “/xampp/mysql/mysql.sock” basedir=”/xampp/mysql” tmpdir=”/xampp/tmp” datadir=”/xampp/mysql/data” skip-locking key_buffer = 16M # it was 1M by default max_allowed_packet = 2M … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)