Skip to end of metadata
Go to start of metadata
As of Razuna 1.4 you don't need to apply these steps anymore. Razuna configures itself for your database!

Global System Setting

By default Razuna is setup to work with the embedded database. Thus to make it work with MySQL we will need to change the configuration within Razuna.

Log on to the Razuna Administration at http://localhost:8080/razuna/admin, enter your name and password and navigate to the System Settings on the left side. Then click on the "Database Settings" tab and change it to suite your MySQL setup.

Restart Razuna with the MySQL database

After you have done all the above steps you are ready to run Razuna with MySQL. In order to use Razuna with MySQL you will have to run the First Time Wizard again by going to the URL http://localhost:8080/razuna/admin.

Note: Currently, we don't have a Export/Import functionality and thus Razuna will default back to a new installation when changing the database. Future versions will have a Export/Import function to switch between databases much easier.

We recommend that you look at the Recommended MySQL settings before using Razuna and the MySQL in a production environment.

Razuna 1.3 and lower

As of Razuna 1.3 you don't need to change the configuration manually anymore, everything can be done within the Razuna Administration. For reference we leave the configuration of the config.xml file below on this page.

By default Razuna is setup to work with the embedded database. Thus to make it work with MySQL we will need to change the configuration file within Razuna.

Location of the Configuration file

The general configuration file for Razuna can be found within the Razuna folder in "global/config" and is called config.xml. It comes in the XML format and should be edited by a XML editor and/or Text-Editor.

MySQL Settings

Change the following parameters "database", "schema" and "datasource".
database:
Set this to "MySQL", obviously.
schema:
This is the name of your schema (database user) that you want Razuna to use.
datasource:
This should be the value of the datasource value of the CFML server engine (this is the name you used in the first step at 1. Setup a MySQL datasource for Razuna).

Actually that is all there is to do, for making Razuna work with the MySQL database.

Restart Razuna with the MySQL database

After you have done all the above steps you are ready to run Razuna with MySQL. In order to use Razuna with MySQL you will have to run the First Time Wizard again by going to the URL http://localhost:8080/razuna/admin.

Note: Currently, we don't have a Export/Import functionality and thus Razuna will default back to a new installation when changing the database. Future versions will have a Export/Import function to switch between databases much easier.

We recommend that you look at the Recommended MySQL settings before using Razuna and the MySQL in a production environment.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.