[LON-CAPA-cvs] cvs: loncom /debugging_tools modify_config_files.pl
raeburn
raeburn@source.lon-capa.org
Tue, 31 May 2011 02:55:15 -0000
raeburn Tue May 31 02:55:15 2011 EDT
Modified files:
/loncom/debugging_tools modify_config_files.pl
Log:
- set-variable has been deprecated since MySQL 4.02.
It is no longer supported in 5.5 (where its inclusion in /etc/my.cnf
causes an error).
Index: loncom/debugging_tools/modify_config_files.pl
diff -u loncom/debugging_tools/modify_config_files.pl:1.11 loncom/debugging_tools/modify_config_files.pl:1.12
--- loncom/debugging_tools/modify_config_files.pl:1.11 Tue Jul 21 20:02:47 2009
+++ loncom/debugging_tools/modify_config_files.pl Tue May 31 02:55:15 2011
@@ -2,7 +2,7 @@
#
# The LearningOnline Network
#
-# $Id: modify_config_files.pl,v 1.11 2009/07/21 20:02:47 raeburn Exp $
+# $Id: modify_config_files.pl,v 1.12 2011/05/31 02:55:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -200,7 +200,7 @@
my $mysql_global_status =
&update_file('/etc/my.cnf',
[{section =>'mysqld',
- key =>'set-variable=wait_timeout=',
+ key =>'wait_timeout=',
value =>'31536000', }]);
my $local_my_cnf = '/home/www/.my.cnf';