Hi David,
Yes finally using CodeStriker again after all this time :)
Thanks that works. I have to watch out for this maximum allowed packet
in MySQL then.
Cheers,
Victor
-----Original Message-----
From: David Sitsky [mailto:dav...@gm...]
Sent: 26 May 2009 00:17
To: Hadianto, Victor
Cc: cod...@li...
Subject: Re: [Codestriker-user] Installation question: DBD::mysql::db do
failed: SESSION variable 'max_allowed_packet'
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
===============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
===============================================================================
|