Installatie en inrichting van Plazma met MySQL
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.
Installation and setup of Plazma with MySQL
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.

- Open het menu Catalogs voor het overzicht van aanwezige databases
- Ga naar het overzicht, rechtermuisknop en selecteer de menuoptie Create new Schema
- Open the menu Catalogs to see the overview of available databases
- Go to the overview, press your right mouse button and select the menu option Create new Schema
- Geef uw database de naam plazma_db en klik op de knop OK.
- Enter the name plazma_db for the database and click on the button OK.

Wanneer de database is aangemaakt moet nog de structuur en initiële data worden toegevoegd.
- Open het menu Tools en selecteer de menuoptie MySQL Command Line Client.
When the database is created you need to add the structure and initial data.
- Open the menu Tools and select the menu option MySQL Command Line Client.

- Op de opdrachtregel mysql> voer achtereenvolgens de volgende opdrachten uit:
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.
- On the command line mysql> enter the commands:
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.
Configuration Manager
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.
Configuration 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.

In de linkerkolom ziet u de drie instellingen die u kunt onderhouden. Voor elk van de instellingen wordt een afzonderlijk bestand aangemaakt in de directory C:\ProgramFiles\PlazmaForge\Plazma ERP+CRM 0.1.7\.
* 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:
In the left column you can see the three settings that you can maintain. For each of these settings a separate file is created in the directory C:\ProgramFiles\PlazmaForge\Plazma ERP+CRM 0.1.7\.
* 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:
U kunt nu de Plazma ERP + CRM applicatie starten via Start > Alle Programma’s > Plazma ERP + CRM x.y.z > Plazma ERP + CRM x.y.z
You can start the Plazma ERP + CRM application using Start > All Programs > Plazma ERP + CRM x.y.z > Plazma ERP + CRM x.y.z