IndianWebPortal.com

Something Different In Linux

Home » Uncategorized » MySQL server has gone away

MySQL server has gone away

Posted by Rishikesh Vispute Categories: Uncategorized

Error :MySQL server has gone away

Solution: If you get MySQL server has gone away when using MySQL ODBC driver then you need to add the following variables into my.cnf file1

1) Open /etc/my.cnf file and add the following variable

max_allowed_packet= 64M
wait_timeout= 6000

2) Restart Mysql service

/etc/init.d/mysqld restart

 

One Response so far.


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...