Configuring MySQL Server |
To use another MySQL server after rpm installation has occurred, you must update .my.cnf files and application configuration files.
production: database: shares username: "mysql_username" password: "mysql_password" host: ip_address port: port_number encoding: utf8 reconnect: false pool: 5 production_stats_collector: database: stats_collector username: "mysql_username" password: "mysql_password" host: ip_address port: port_number encoding: utf8 reconnect: false pool: 5
<!-- connection URL: jdbc:mysql://HOST:PORT/DATABASE --> <property name="hibernate.connection.url" value="jdbc:mysql://ip_address:port_number/stats_collector"/> <property name="hibernate.connection.username" value="mysql_username"/> <property name="hibernate.connection.password" value="mysql_password"/>
# service aspera-shares restart
# rm /opt/aspera/shares/etc/runit/runlevels/setup/mysqld # rm /opt/aspera/shares/etc/runit/runlevels/up/mysqld