adding database collate comment
This commit is contained in:
@@ -160,6 +160,7 @@ step_12() {
|
|||||||
|
|
||||||
read -p "Enter database name: " mysqlDatabase
|
read -p "Enter database name: " mysqlDatabase
|
||||||
endCheckEmpty mysqlDatabase "database name"
|
endCheckEmpty mysqlDatabase "database name"
|
||||||
|
# it is recommended NOT to use utf8mb4_general_ci anymore
|
||||||
exe mysql -u root -e 'CREATE DATABASE '$mysqlDatabase' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'
|
exe mysql -u root -e 'CREATE DATABASE '$mysqlDatabase' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'
|
||||||
saveReturn $?
|
saveReturn $?
|
||||||
endReturn
|
endReturn
|
||||||
|
Reference in New Issue
Block a user