Installatie en inrichten van Plazma ERP + CRM met MySQL als database
Wanneer u een eigen Plazma omgeving wil opzetten voor bedrijfsdoeleinden kunt u het beste MySQL als database inrichten. Voor de installatie van MySQL ga naar mijn bloart: Upgrade van MySQL 5.0 naar MySQL 5.1 onder Windows.
Na installatie van MySQL volg de onderstaande stappen:
- Start uw MySQL Administrator: Menu Start > Alle Programma’s > MySQL > MySQL Administrator.
When you want to setup your own Plazma environment for Business reasons you should install and setup MySQL. For the installation of MySQL read my bloart: Upgrade of MySQL 5.0 to MySQL 5.1 under Windows.
After Installation of MySQL follow the steps below:
- Start your MySQL Administrator: Menu Start > All Programs > MySQL > MySQL Administrator.

- Ga naar het overzicht, rechtermuisknop en selecteer de menuoptie Create new Schema
- Go to the overview, press your right mouse button and select the menu option Create new Schema

- Open het menu Tools en selecteer de menuoptie MySQL Command Line Client.
- Open the menu Tools and select the menu option MySQL Command Line Client.

mysql>\u plazma_db
mysql>\. C:\ProgramFiles\PlazmaForge\Plazma ERP+CRM 0.1.7\db\result\mysql\en\result_work_db.sql
Tip: Het script result_work_db.sql is bedoeld voor het opzetten van een productie database. Voor de demo database is er het script result_demo_db.sql.
Het enige wat u hierna moet doen is de JDBC-connectieinstellingen voor uw database vastleggen via de Configuration Manager. In de distributie van Plazma is de JDBC driver voor MySQL opgenomen in de directory /lib/jdbc/mysql/mysql-connector-java-5.0.5-bin.jar.
mysql>\u plazma_db
mysql>\. C:\ProgramFiles\PlazmaForge\Plazma ERP+CRM 0.1.7\db\result\mysql\en\result_work_db.sql
Tip: The script result_work_db.sql is defined for setting up a production database. For the demo database the script result_demo_db.sql is defined.
Now you have to enter the JDBC parameters for your database using the Configuration Manager. In the distribution of Plazma the JDBC driver for MySQL is included in the directory /lib/jdbc/mysql/mysql-connector-java-5.0.5-bin.jar.
Met de Configuration Manager kunt u de Properties, Classpath en JDBC instellingen van uw Plazma ERP + CRM omgeving vastleggen en onderhouden.
- Ga naar Start > Alle Programma’s > Plazma ERP + CRM x.y.z > Config Manager.
With the Configuration Manager you can enter or update the Properties, Classpath and JDBC settings for your Plazma ERP + CRM environment.
- Go to Start > All Programs > Plazma ERP + CRM x.y.z > Config Manager.

* Properties = plazma.properties
* Classpath = plazma.classpath
Voor de JDBC instellingen wordt een bestand aangemaakt in de directory C:\ProgramFiles\PlazmaForge\Plazma ERP+CRM 0.1.7\conf\
* JDBC = jdbc.properties
Let op wanneer u de JDBC instellingen van uw database wijzigt dan verdwijnen de voorgaande instellingen. Het is dan niet mogelijk om eenvoudig te switchen tussen de MySQL en de HSQL database omdat er geen mogelijkheid aanwezig is om meerdere instellingen op te slaan.
In de Administration Guide kunt wel alle instellingen voor de beschikbare databases terugvinden.
Tip: Om toegang te verkrijgen tot de database moet u er wel zorgen dat een systeemgebruiker is aangemaakt tijdens het initialiseren en inrichten van uw database.
De JDBC parameters voor de MySQL database zijn:
* Properties = plazma.properties
* Classpath = plazma.classpath
For the JDBC settings a file is created in the directory C:\ProgramFiles\PlazmaForge\Plazma ERP+CRM 0.1.7\conf\
* JDBC = jdbc.properties
Be careful when you change the JDBC settings of your database the previous settings will be removed and it is not possible to simply switch between MySQL and HSQL. You will have to manually change the settings each time you switch from database. In the Administration Guide you can find the settings for all available databases.
Tip: To access your database you have to ensure that a system user is defined during the initialisation and setup of the database.
The JDBC settings for the MySQL database are: