On Sun, 5 May 2013, Mark A. Hershberger wrote:
On 05/05/2013 10:19 AM, Dmitrii Kouznetsov wrote:
"2006: MySQL server has gone away (127.0.0.1)".
A quick web search turns up this solution from StackOverflow http://stackoverflow.com/questions/10474922/error-2006-hy000-mysql-server-ha... max_allowed_packet=64M Adding this line into my.cnf file solves my problem. So it looks like an error that you can solve by changing a MySQL setting.
Mark, thank you for the explanation; it solves the part of the problem. (mysql shold be stopped and then started in order to see the effect.) Now I can load 2,048 kilobytes instead of 1,024 kilobytes at the previous setting. But still I have message
Error: The text you have submitted is 2,424 kilobytes long, which is longer than the maximum of 2,048 kilobytes. It cannot be saved.
There are hints at http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads it suggests:
$wgUploadSizeWarning = 2147483648; $wgMaxUploadSize = 2147483648; Also, modify the following lines in PHP.INI: memory_limit = 2048M (this line may not be necessary) post_max_size = 2048M upload_max_filesize = 2048M
As I understand, the lines with dollars refer to LocalSettings.php and the PHP.INI refers to /private/etc/php.ini I have edited these two files, but still I have the same error message. Perhaps, there is at least one more lock I cannot find.