Follow these steps to configure a remote EASA database.
1→ Follow Setup EASA 6.1 on Windows with a local database to configure an EASA Server only the following steps will be different.
Skip 'Downloading MySQL…', step A.6 (insure there is not a mysql-5.7.17-win32.zip file in the same folder as the installer).
Click No at step B.8 (pictured here).
At the next popup, click Ignore (pictured here).
After the installation has concluded do not start the EASA Tomcat8 service in step B.9
2→ Remove the folder <EASAROOT>\db
3→ Install a database on a remote machine, EASA currently supports MySQL, SQL Server and Postgres.
4→ As root or an equivalent high-privilege user, run the relevant script or backups to create the EASA database schema.
5→ We need to configure EASA machines to connect to each database via the following files,
Below is an example of a portion of a modified .cfg.xml config file.
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:mysql://192.168.12.56:3306/signer?autoReconnect=true</property> <property name="hibernate.connection.username">user</property> <property name="hibernate.connection.password">password</property> <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
6→ Start the EASA Tomcat8 service, test the database.