-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error ConnectionString in Helper.cs in PostgreSQL #18
Comments
Database field is not required in the connection string in Helper.cs because we use CREATE DATABASE command later on:
|
When run |
Fixed. Check out this commit. |
Thanks It works. You can also add a port to connect |
great, it works |
|
In ConnectionString not present database name Database=" + databaseName
public void CreateDatabaseIfNotExists(string server, string userId, string password, string databaseName) { using (var conn = new NpgsqlConnection("Server=" + server + ";User Id=" + userId + ";Password=" + password))
The text was updated successfully, but these errors were encountered: