webfactory / slimdump

A tool for creating configurable dumps of large MySQL-databases.
MIT License
184 stars 26 forks source link

DSN format #6

Closed mpdude closed 8 years ago

mpdude commented 9 years ago

We have a somewhat limited idea of what a DSN has to look like (https://github.com/webfactory/slimdump/blob/master/php/util.php#L20).

What would be better/more flexible/open ways to specify DB connection params?

mpdude commented 8 years ago

Once #3 is merged, we simply pass the DSN to DBAL, so we could refer to http://doctrine-orm.readthedocs.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url for an explanation.

Still, we require the use of UTF-8 for the time being.

dritter commented 8 years ago

Done.