Re: [Codestriker-user] Installation question: DBD::mysql::db do failed: SESSION variable 'max_allow
Brought to you by:
sits
|
From: David S. <dav...@gm...> - 2009-05-25 23:17:01
|
Hi Victor,
Nice to hear from you. :)
> DBD::mysql::db do failed: SESSION variable 'max_allowed_packet' is
> read-only. Us
> e SET GLOBAL to assign the value at C:\Program
> Files\codestriker\codestriker-1.9
> .8/lib/Codestriker/DB/MySQL.pm line 59.
This is the "culprit" line in lib/Codestriker/DB/MySQL.pm:
$dbh->do("SET max_allowed_packet=128000000");
Just comment it out or delete the line. It seems the latest versions
of MySQL doesn't permit this setting anymore. It is there to allow
large topic sizes to be stored in the database, but I believe it has
now been super-seeded by a global setting in the MySQL config file.
Cheers,
David
|