Page 1 of 1

MySQL db in another server , possible ?

Posted: Thu Apr 09, 2009 10:23 am
by cyberkoa
My scenerio is like this ,

I have 2 servers. 1st server running postfix and mysql . Since postfix conflict with OpenEMM, I will install openEMM in 2nd server , but I want to use the MySQL in 1st .

My question is ,

1. Is it possible ?

2. If yes, how should I change the configuration ? i try to look into the openEMM installation files, I cannot find any hint .


Any help is appreciated , thanks ..

Cheers,
CG

Posted: Mon Apr 13, 2009 7:35 pm
by maschoff
You can adjust the settings for the MySQL database connection in file emm.properties in directory /home/openemm/webapps/core/WEB-INF/classes.

Posted: Wed Apr 15, 2009 8:02 am
by cyberkoa
ma wrote:You can adjust the settings for the MySQL database connection in file emm.properties in directory /home/openemm/webapps/core/WEB-INF/classes.
Thanks. that is for the openEMM Web GUI

For those configuration scripts , such as sendmail-enable.sh and sendmail-disable.sh , which used agn module , should I change the

Code: Select all

dbhost='localhost' 
in the agn.py ?

Posted: Wed Apr 22, 2009 9:09 am
by ud
You're right, all python modules use the file agn.py to access the database, so to connect to a remote server, you have to change this line.

-- ud