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