@@ -27,7 +27,7 @@ function check_for_crashed_tables() {
...
@@ -27,7 +27,7 @@ function check_for_crashed_tables() {
select concat('\''select count(*) into @discard from `'\'',
select concat('\''select count(*) into @discard from `'\'',
TABLE_SCHEMA, '\''`.`'\'', TABLE_NAME, '\''`'\'')
TABLE_SCHEMA, '\''`.`'\'', TABLE_NAME, '\''`'\'')
from information_schema.TABLES where TABLE_SCHEMA<>'\''INFORMATION_SCHEMA'\'' and TABLE_SCHEMA<>'\''PERFORMANCE_SCHEMA'\'' and ( ENGINE='\''MyISAM'\'' or ENGINE='\''Aria'\'' )' | \
from information_schema.TABLES where TABLE_SCHEMA<>'\''INFORMATION_SCHEMA'\'' and TABLE_SCHEMA<>'\''PERFORMANCE_SCHEMA'\'' and ( ENGINE='\''MyISAM'\'' or ENGINE='\''Aria'\'' )' | \
@@ -72,7 +72,7 @@ function check_root_accounts() {
...
@@ -72,7 +72,7 @@ function check_root_accounts() {
logger -p daemon.info -i-t"$0""Checking for insecure root accounts."
logger -p daemon.info -i-t"$0""Checking for insecure root accounts."
ret=$(echo"SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | "$MARIADB"--skip-column-names)
ret=$(echo"SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | $MARIADB--skip-column-names)