Skip to content

fix: only create the database and the database user if this is explic…#455

Open
XJenso73 wants to merge 1 commit intoOverv:masterfrom
XJenso73:issue-452_Importing_again_after_import_seems_to_break_the_server
Open

fix: only create the database and the database user if this is explic…#455
XJenso73 wants to merge 1 commit intoOverv:masterfrom
XJenso73:issue-452_Importing_again_after_import_seems_to_break_the_server

Conversation

@XJenso73
Copy link
Copy Markdown

fix: only create the database and the database user if this is explicitly selected with the CREATEDATABASE parameter. This prevents the script from stumbling over the already existing database user.

I hope it will help

…itly selected with the `CREATEDATABASE` parameter. This prevents the script from stumbling over the already existing database user.
@kovacs-andras
Copy link
Copy Markdown

Did it work for you? I doesn't work for me when I'm trying to make the first import.

@XJenso73
Copy link
Copy Markdown
Author

XJenso73 commented Aug 5, 2025

Have you set the environment variable CREATEDATABASE? This is how we have made it work in our company

@Harvester57
Copy link
Copy Markdown

Hi,

Isn't this a duplicate solution with PR #436 ?

@XJenso73
Copy link
Copy Markdown
Author

I suppose so. I somehow overlooked that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants