Configuring MySQL to Run on a Separate Server
From AgileApps Support Wiki
Revision as of 18:46, 3 May 2011 by imported>Aeric (Text replace - 'Category:System Administration' to 'Category:Installation')
Configuring MySQL and LongJump to Run on Separate Servers
This procedure sets up database connection pooling between the two servers.
- Enable permissions on MySQL, so web servers can access the database server:
GRANT ALL ON *.* to 'root'@'web_server_IP_Address' IDENTIFIED BY 'password'
- Direct the database server to the application server:
- Edit longjump_installation/tomcat/conf/server.xml
- Replace url="jdbc:mysql://{domain}/relationals" with
url="jdbc:mysql://IP_address_of_database_server/relationals" - Save the file
- If the Application server is currently running, then Restart the Application Server.
Learn More: http://dev.mysql.com/doc/refman/5.1/en/replication-solutions-backups.html