atk4 / data

Data Access PHP Framework for SQL & high-latency databases
https://atk4-data.readthedocs.io
MIT License
273 stars 46 forks source link

Connection DSN can omit password #971

Closed DarkSide666 closed 2 years ago

DarkSide666 commented 2 years ago

We can have connection string with empty password and in such case password is not set in dsn array. This should fix that.

For example

'dsn' => "mysql://root@localhost:3307/my_dbase;charset=utf8mb4",
mvorisek commented 2 years ago

PR LGTM, especially for sqlite DSN