You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select concat('\''select count(*) into @discard from `'\'',
28
28
TABLE_SCHEMA, '\''`.`'\'', TABLE_NAME, '\''`'\'')
29
29
from information_schema.TABLES where TABLE_SCHEMA<>'\''INFORMATION_SCHEMA'\'' and TABLE_SCHEMA<>'\''PERFORMANCE_SCHEMA'\'' and ( ENGINE='\''MyISAM'\'' or ENGINE='\''Aria'\'' )'| \
## Check for the presence of both, root accounts with and without password.
@@ -70,10 +70,10 @@ function check_root_accounts() {
70
70
set -e
71
71
set -u
72
72
73
-
logger -p daemon.info -i -t$0"Checking for insecure root accounts."
73
+
logger -p daemon.info -i -t"$0""Checking for insecure root accounts."
74
74
75
-
ret=$(echo"SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');"|$MYSQL --skip-column-names )
75
+
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 )
0 commit comments