Hello, I have seen that there are interesting changes in osipsconsole.
There is the long expected drouting addition :)
I would like to know what's the state of the changes, because in the
last checkout I did (rev 5222), there was re-introduced a problem
where you weren't able to connect to mysql unless you're using root
with empty password ..
I attach the part of the diff related.
@@ -1452,7 +1503,7 @@
# }
#}
-sub db_load() {
+#sub db_load() {
if ( $DBENGINE eq "" ) {
print "database engine not specified, please setup one in the config script";
$DBENGINELOADED = 0;
@@ -1467,8 +1518,11 @@
$DB_SCHEMA="./mysql";
}
#Connect to the database.
+#print "DBI:$DBENGINE:database=$DBNAME;host=$DBHOST","$DBRWUSER", "$DBRWPW"."\n";
+# $dbh = DBI->connect("DBI:$DBENGINE:database=$DBNAME;host=$DBHOST",
+# "$DBRWUSER", "$DBRWPW",
$dbh = DBI->connect("DBI:$DBENGINE:database=$DBNAME;host=$DBHOST",
- "$DBRWUSER", "$DBRWPW",
+ "root", "",
{'PrintError' => 0} ) or die "Database connection failed.";
$DBENGINELOADED = 1;
}
@@ -1530,7 +1584,7 @@
}
}
-}
+#}
#
##### ------------------------------------------------ #####
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users