diff --git a/README.md b/README.md index a1ea391e..3dc2ae9c 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,11 @@ Or, if you only want to get one customer, then you would append the customer `id Edit `index.php` and change the `$dsn` variable located at the top, here are some examples: - SQLite: `$dsn = 'sqlite://./path/to/database.sqlite';` -- MySQL: `$dsn = 'mysql://[user[:pass]@]host[:port]/db/;` +- MySQL: `$dsn = 'mysql://[user[:pass]@]host[:port]/db/';` - PostgreSQL: `$dsn = 'pgsql://[user[:pass]@]host[:port]/db/;` +Databases must not contain dashes. + If you want to restrict access to allow only specific IP addresses, add them to the `$clients` array: ```php @@ -205,4 +207,4 @@ ArrestDB is a complete rewrite of [Arrest-MySQL](https://github.com/gilbitron/Ar ##License (MIT) -Copyright (c) 2014 Alix Axel (alix.axel+github@gmail.com). \ No newline at end of file +Copyright (c) 2014 Alix Axel (alix.axel+github@gmail.com).