-rename fhemdb_create.sql to db_create_mysql.sql

-added a postgresql connection example to db.conf


git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tobiasfaust
2012-11-24 12:13:58 +00:00
parent ef83a7588d
commit 378efbfe7e
2 changed files with 16 additions and 6 deletions

View File

@@ -2,10 +2,20 @@
# database configuration file
#
#
## for MySQL
################################################################
#%dbconfig= (
# connection => "mysql:database=fhem;host=db;port=3306",
# user => "fhemuser",
# password => "fhempassword",
#);
################################################################
#
%dbconfig= (
connection => "mysql:database=fhem;host=db;port=3306",
user => "fhemuser",
password => "fhempassword",
);
## for PostgreSQL
################################################################
#%dbconfig= (
# connection => "Pg:database=fhem;host=localhost",
# user => "fhemuser",
# password => "fhempassword"
#);
################################################################