General developer forum

Error Detection

Picture of Rajeev Dambal
Error Detection

I am getting error  in moodle 2.0 like this 

"please notify administrator, this problem is most probably caused by small value in max_allowed_packet MySql setting "

Please any one give solution .

Average of ratings: -
Picture of Simon Story
Re: Error Detection

Hello Rajeev,

You have to do exactly as it says in the error, increase the value for your mysql installation.

The file you need to change might be called /etc/mysql/my.cnf .

In the [mysqld] section, you need to add something like

max_allowed_packet    = 16M

Average of ratings: -