Return to install.pl CVS log | Up to [LON-CAPA] / doc / install / linux |
version 1.75, 2021/03/26 18:38:03 | version 1.76, 2021/03/28 21:51:22 |
---|---|
Line 2577 sub setup_mysql_permissions { | Line 2577 sub setup_mysql_permissions { |
if ($usescreate) { | if ($usescreate) { |
@mysql_commands = ("CREATE USER 'www'\@'localhost' IDENTIFIED BY 'localhostkey'"); | @mysql_commands = ("CREATE USER 'www'\@'localhost' IDENTIFIED BY 'localhostkey'"); |
} elsif ($usesauth) { | } elsif ($usesauth) { |
@mysql_commands = ("INSERT user (Host, User, ssl_cipher, x509_issuer, x509_subject, authentication_string) VALUES('localhost','www','','','','')"); | @mysql_commands = ("INSERT user (Host, User, ssl_cipher, x509_issuer, x509_subject, authentication_string) VALUES('localhost','www','','','','')", |
"FLUSH PRIVILEGES"); | |
if ($is_mariadb) { | if ($is_mariadb) { |
push(@mysql_commands,"ALTER USER 'www'\@'localhost' IDENTIFIED BY 'localhostkey'"); | push(@mysql_commands,"ALTER USER 'www'\@'localhost' IDENTIFIED BY 'localhostkey'"); |
} else { | } else { |