mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.sql: Log debug message when connecting to database
This commit is contained in:
parent
eed81c2f94
commit
5a90847cd7
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ function engine:connect()
|
|||
|
||||
local params = self.params;
|
||||
assert(params.driver, "no driver")
|
||||
log("error", "Connecting to [%s] %s...", params.driver, params.database);
|
||||
local dbh, err = DBI.Connect(
|
||||
params.driver, params.database,
|
||||
params.username, params.password,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue