nixos/mysql: Unbreak initial database creation

authored by Sarah Brofeldt and committed by Profpatsch 2ea8f8ac b7a6c548

+2 -2
+2 -2
nixos/modules/services/databases/mysql.nix
··· 289 # Create initial databases 290 if ! test -e "${cfg.dataDir}/${database.name}"; then 291 echo "Creating initial database: ${database.name}" 292 - ( echo "create database `${database.name}`;" 293 294 ${optionalString (database ? "schema") '' 295 - echo "use `${database.name}`;" 296 297 if [ -f "${database.schema}" ] 298 then
··· 289 # Create initial databases 290 if ! test -e "${cfg.dataDir}/${database.name}"; then 291 echo "Creating initial database: ${database.name}" 292 + ( echo 'create database `${database.name}`;' 293 294 ${optionalString (database ? "schema") '' 295 + echo 'use `${database.name}`;' 296 297 if [ -f "${database.schema}" ] 298 then