-rename fhemdb_create.sql to db_create_mysql.sql

-added a postgresql connection example to db.conf


git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tobiasfaust
2012-11-24 12:13:58 +00:00
parent 3f4afc80b1
commit 87f039989b
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"
#);
################################################################