1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-20 23:01:31 +02:00

Update MySQL database schema to ensure full Unicode support

This commit is contained in:
Marco
2016-02-24 00:59:50 +01:00
parent 5403270ed2
commit 227c37e2b5
3 changed files with 11 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ Completely framework-agnostic and database-agnostic.
### Create a new instance
```php
// $db = new PDO('mysql:dbname=database;host=localhost;charset=utf8', 'username', 'password');
// $db = new PDO('mysql:dbname=database;host=localhost;charset=utf8mb4', 'username', 'password');
// $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$auth = new \Delight\Auth\Auth($db);