[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: doc /install/linux install.pl
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2019-02-19 19:14:54
Message-ID: cvsraeburn1550603694 () cvsserver
[Download RAW message or body]
raeburn Tue Feb 19 19:14:54 2019 EDT
Modified files:
/doc/install/linux install.pl
Log:
- Support both Mariadb 10.2 and newer, and MySQL 5.7.6 and newer. (logic
was backwards in rev. 1.50).
Index: doc/install/linux/install.pl
diff -u doc/install/linux/install.pl:1.50 doc/install/linux/install.pl:1.51
--- doc/install/linux/install.pl:1.50 Tue Feb 19 19:03:42 2019
+++ doc/install/linux/install.pl Tue Feb 19 19:14:54 2019
@@ -77,7 +77,7 @@
&mt('Stopping execution.')."\n";
exit;
} else {
- print LOG '$Id: install.pl,v 1.50 2019/02/19 19:03:42 raeburn Exp $'."\n";
+ print LOG '$Id: install.pl,v 1.51 2019/02/19 19:14:54 raeburn Exp $'."\n";
}
#
@@ -2477,10 +2477,10 @@
my ($currmysqlpass,$usesauth,$is_mariadb) = @_;
if ($usesauth) {
if ($is_mariadb) {
- return ("ALTER USER 'root'\@'localhost' IDENTIFIED WITH \
mysql_native_password BY '$currmysqlpass'", + return ("ALTER USER \
'root'\@'localhost' IDENTIFIED BY '$currmysqlpass'", "FLUSH PRIVILEGES;");
} else {
- return ("ALTER USER 'root'\@'localhost' IDENTIFIED BY '$currmysqlpass'",
+ return ("ALTER USER 'root'\@'localhost' IDENTIFIED WITH \
mysql_native_password BY '$currmysqlpass'", "FLUSH PRIVILEGES;");
}
} else {
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic