MySQL db in another server , possible ?

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

cyberkoa
Posts: 2
Joined: Thu Apr 09, 2009 10:08 am

MySQL db in another server , possible ?

Post 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
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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.
OpenEMM Maintainer
cyberkoa
Posts: 2
Joined: Thu Apr 09, 2009 10:08 am

Post 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 ?
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post 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
Post Reply