diff options
author | M.Gergo | 2018-03-04 14:11:27 +0100 |
---|---|---|
committer | Gergo | 2018-03-04 14:11:27 +0100 |
commit | 9680ed5cfc887130300757c9c373d00786f97872 (patch) | |
tree | 711ec7e43b596dccb36d000fc90a8ee321e4b010 /mayor/update/processUpdateScripts.sh | |
parent | 8e48602546d3b8906ad3cfc72f414f25f2dd990c (diff) | |
download | mayor-9680ed5cfc887130300757c9c373d00786f97872.tar.gz mayor-9680ed5cfc887130300757c9c373d00786f97872.zip |
mayor-update kiegészítés: egyszerűsítve
Diffstat (limited to 'mayor/update/processUpdateScripts.sh')
-rw-r--r-- | mayor/update/processUpdateScripts.sh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mayor/update/processUpdateScripts.sh b/mayor/update/processUpdateScripts.sh index fb54ab8f..61ab5618 100644 --- a/mayor/update/processUpdateScripts.sh +++ b/mayor/update/processUpdateScripts.sh @@ -12,14 +12,9 @@ host=$MYSQL_HOST user=$MYSQL_USER password=$MYSQL_PW " > $BASEDIR/config/my.cnf - -PRECHARSET="SET character_set_client = utf8; -SET character_set_database = utf8; -SET character_set_server = utf8; -SET character_set_results = utf8; -SET collation_connection = utf8_hungarian_ci; -SET collation_database = utf8_general_ci; -SET collation_server = utf8_general_ci; " ## fontos, hogy a ";" ott legyen a végén!! + +PRECHARSET="SET NAMES 'utf8' COLLATE 'utf8_hungarian_ci'; " ## fontos, hogy a ";" ott legyen a végén!! +#PRECHARSET="$PRECHARSET SET collation_connection = utf8_hungarian_ci; " ## ha a mysql server esetleg régebbi lenne. MYSQL_CONFIG="--defaults-extra-file=$BASEDIR/config/my.cnf" MYSQL_PARAMETERS="" |