Use 127.0.0.1 instead of localhost and exit with the correct exit code in the
create-schema script.