From c486fe664c9efdd1be3d2f09cc64f17988521747 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 5 Sep 2021 05:53:42 +0000 Subject: [PATCH] adding some pod configuration samples --- codepot/etc/codepot.ini.in | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/codepot/etc/codepot.ini.in b/codepot/etc/codepot.ini.in index 42fafb43..4e7dddf2 100644 --- a/codepot/etc/codepot.ini.in +++ b/codepot/etc/codepot.ini.in @@ -11,7 +11,25 @@ default_site_name = "@PACKAGE@" ;------------------------------------------------------------------------------ ; database settings ; -; database_driver: mysql, mysqli, postgre, oci8 +; database_driver: pdo, mysql, mysqli, postgre, oci8 +; +; == PDO mysql == +; database_hostname = "mysql:host=localhost;dbname=codepot" +; database_port = "" +; database_username = "codepot" +; database_password = "codepot" +; database_name = "" +; database_driver = "pdo" +; database_prefix = "" +; +; == PDO sqlite == +; database_hostname = "sqlite:/var/lib/codepot/codepot.sqlite" +; database_port = "" +; database_username = "" +; database_password = "" +; database_name = "" +; database_driver = "pdo" +; database_prefix = "" ; ; == MySQL == ; database_hostname = "localhost"