[Users] connection between openser and mysql both in different machine

unplug maillisting at gmail.com
Sat Jan 21 08:14:28 CET 2006


How does openser connect to mysql which is not in the same machine
(say openser is in 10.0.0.1 and mysql is in 10.0.0.2)?  I have
configured all mysql statement in the configuration file as
"mysql://openser:openserrw@10.0.0.2/openser" but openser failed to
start.  Below is the error message from the log.

Jan 21 14:25:51 owthkems01 /usr/local/sbin/openser[12298]:
new_connection: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
Jan 21 14:25:51 owthkems01 /usr/local/sbin/openser[12298]:
ERROR:domain_db_init: cannot initialize database connection
Jan 21 14:25:51 owthkems01 /usr/local/sbin/openser[12298]: ERROR:
domain:child_init(): Unable to connect to the database
Jan 21 14:25:51 owthkems01 /usr/local/sbin/openser[12298]:
ERROR:init_mod_child: Error while initializing module domain, rank 1




More information about the Users mailing list