-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:
@@ -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"
|
||||
#);
|
||||
################################################################
|
||||
|
||||
Reference in New Issue
Block a user