File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -941,12 +941,12 @@ ln -s "$SITES_AVAILABLE"/"$HTTP_CONF" "$SITES_ENABLED"/"$HTTP_CONF"
941941restart_webserver
942942
943943# Enable UTF8mb4 (4-byte support)
944- databases=$( mysql -u root -p" $MARIADB_PASS " -e " SHOW DATABASES;" | tr -d " | " | grep -v Database)
944+ databases=$( mariadb -u root -p" $MARIADB_PASS " -e " SHOW DATABASES;" | tr -d " | " | grep -v Database)
945945for db in $databases ; do
946946 if [[ " $db " != " performance_schema" ]] && [[ " $db " != _* ]] && [[ " $db " != " information_schema" ]];
947947 then
948948 print_text_in_color " $ICyan " " Changing to UTF8mb4 on: $db "
949- mysql -u root -p" $MARIADB_PASS " -e " ALTER DATABASE $db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
949+ mariadb -u root -p" $MARIADB_PASS " -e " ALTER DATABASE $db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
950950 fi
951951done
952952
You can’t perform that action at this time.
0 commit comments