Closed Danzondo closed 5 years ago
Would you like to post your config (initialization) code here?
$database = new Medoo([ 'database_type' => 'PostgreSQL', 'database_name' => 'dbname', 'server' => 'localhost', 'username' => 'username', 'password' => 'password']);
The database_type
should be pgsql
, not PostgreSQL
.
oh thank you, I thought I need to use the value of the left column on the PHP_PDO Extension list
Describe the bug A clear and concise description of what the bug is.
Information
When using the medoo standard configuration to connect to a pgsql server I get the error: "Incorrect connection options"
When changing the same config to a mysql server it works. Also when passing a pdo object to the pdo parameter of medoo it also works to connect to the pgsql server.
The config is 100% correct, no typo or something like that.