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"
941
941
restart_webserver
942
942
943
943
# 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)
945
945
for db in $databases ; do
946
946
if [[ " $db " != " performance_schema" ]] && [[ " $db " != _* ]] && [[ " $db " != " information_schema" ]];
947
947
then
948
948
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;"
950
950
fi
951
951
done
952
952
You can’t perform that action at this time.
0 commit comments