Eli Mesika has uploaded a new change for review. Change subject: ovirt:failed to create engine db because of locale ......................................................................
ovirt:failed to create engine db because of locale failed to create engine db because of locale issue Patch follows recommendations from: http://linux.m2osw.com/postgresql_and_unicode Change-Id: I8dc7f450bcead59fe4867396e31c119b94613cd3 Signed-off-by: Eli Mesika <[email protected]> --- M backend/manager/dbscripts/create_db.sh 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/04/12004/1 diff --git a/backend/manager/dbscripts/create_db.sh b/backend/manager/dbscripts/create_db.sh index 00634c0..81c0f2d 100755 --- a/backend/manager/dbscripts/create_db.sh +++ b/backend/manager/dbscripts/create_db.sh @@ -41,10 +41,10 @@ esac done -printf "Creating the database: ${DATABASE}\n" + #try to drop the database first (if exists) dropdb --username=${USERNAME} --host=${SERVERNAME} --port=${PORT} ${DATABASE} -e > /dev/null -createdb --username=${USERNAME} --host=${SERVERNAME} --port=${PORT} ${DATABASE} -e -E UTF8 -T template0 > /dev/null +createdb --username=${USERNAME} --host=${SERVERNAME} --port=${PORT} ${DATABASE} -e -E UTF8 --lc-collate en_US.UTF8 --lc-ctype en_US.UTF8 -T template0 > /dev/null if [ $? -ne 0 ] then printf "Failed to create database ${DATABASE}\n" -- To view, visit http://gerrit.ovirt.org/12004 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8dc7f450bcead59fe4867396e31c119b94613cd3 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
