-rename fhemdb_create.sql to db_create_mysql.sql

-added a postgresql connection example to db.conf


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

View File

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