diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mysqlerl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mysqlerl.c b/src/mysqlerl.c index de2520d..ff24b64 100644 --- a/src/mysqlerl.c +++ b/src/mysqlerl.c @@ -482,8 +482,8 @@ main(int argc, char *argv[]) mysql_init(&dbh); if (mysql_real_connect(&dbh, host, user, passwd, db_name, atoi(port), NULL, 0) == NULL) { - logmsg("ERROR: Failed to connect to database %s: %s (%s:%s).", - db_name, mysql_error(&dbh), user, passwd); + logmsg("ERROR: Failed to connect to database %s as %s: %s.", + db_name, user, mysql_error(&dbh)); exit(2); } |