mba:fhem udo$ sqlite3 configDB.db SQLite version 3.7.13 2012-07-17 17:46:21 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> pragma auto_vacuum=2; sqlite> .quit mba:fhem udo$
## for MySQL ################################################################ #%dbconfig= ( # connection => "mysql:database=configDB;host=db;port=3306", # user => "fhemuser", # password => "fhempassword", #); ################################################################ # ## for PostgreSQL ################################################################ #%dbconfig= ( # connection => "Pg:database=configDB;host=localhost", # user => "fhemuser", # password => "fhempassword" #); ################################################################ # ## for SQLite (username and password stay empty for SQLite) ################################################################ #%dbconfig= ( # connection => "SQLite:dbname=/opt/fhem/configDB.db", # user => "", # password => "" #); ################################################################
perl fhem.pl configDB
perl fhem.pl fhem.cfg
{use configDB;; cfgDB_Migrate}
perl fhem.pl configDB
mba:fhem udo$ sqlite3 configDB.db SQLite version 3.7.13 2012-07-17 17:46:21 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> pragma auto_vacuum=2; sqlite> .quit mba:fhem udo$
## für MySQL ################################################################ #%dbconfig= ( # connection => "mysql:database=configDB;host=db;port=3306", # user => "fhemuser", # password => "fhempassword", #); ################################################################ # ## für PostgreSQL ################################################################ #%dbconfig= ( # connection => "Pg:database=configDB;host=localhost", # user => "fhemuser", # password => "fhempassword" #); ################################################################ # ## für SQLite (username and password bleiben bei SQLite leer) ################################################################ #%dbconfig= ( # connection => "SQLite:dbname=/opt/fhem/configDB.db", # user => "", # password => "" #); ################################################################
perl fhem.pl configDB
perl fhem.pl fhem.cfg
{use configDB;; cfgDB_Migrate}
perl fhem.pl configDB