]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Defined MySQL as the default rdbms for wallabag
authorNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 31 May 2017 20:36:21 +0000 (22:36 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 31 May 2017 20:36:21 +0000 (22:36 +0200)
app/config/parameters.yml.dist

index 97f51ed1f676966e5b405cd624cede955a20221d..c867aa6d54831ab17a9ecb9b050c662b89d8a624 100644 (file)
@@ -10,17 +10,18 @@ parameters:
     # database_user: %env.database_user%
     # database_password: %env.database_password%
 
-    database_driver: pdo_sqlite
+    database_driver: pdo_mysql
     database_host: 127.0.0.1
     database_port: ~
     database_name: symfony
     database_user: root
     database_password: ~
-    database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite"
+    # For SQLite, database_path should be "%kernel.root_dir%/../data/db/wallabag.sqlite"
+    database_path: null
     database_table_prefix: wallabag_
     database_socket: null
-    # with MySQL, use "utf8mb4" if you got problem with content with emojis
-    database_charset: utf8
+    # with PostgreSQL and SQLite, you can set "utf8"
+    database_charset: utf8mb4
 
     mailer_transport: smtp
     mailer_host: 127.0.0.1