MySQL

JDBC Driver

The MySQL JDBC driver is one of the ones included with the dcm4chee distributions. Feel free to update it if you need/want to.

Create the database

Initiate the pacsdb database instance using the DDL in dcm4chee-mysql-2.13.6/sql/create.mysql.

> mysql -uroot
mysql> create database pacsdb;
mysql> grant all on pacsdb.* to 'pacs'@'localhost' identified by 'pacs';
mysql> \q
> mysql -upacs -ppacs pacsdb < dcm4chee-mysql-2.13.6/sql/create.mysql

Adjust DB configuration if necessary

The database configuration information is contained within dcm4chee-mysql-2.13.6/server/default/deploy/pacs-mysql-ds.xml. If you're using a different database name, user name, etc., you'll need to update this file.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 14

    Wisam Al-Rawi says:

    I've written a step by step tutorial on how to install dcm4chee with mysql under...

    I've written a step by step tutorial on how to install dcm4chee with mysql under Windows 7 with JDK 6. Here is a link to the tutorial. I couldn't find a way to attach the pdf file in this comment but you have the option of saving the tutorial as a PDF.

    If you have any comments or feedback please write it down in the comments section of the tutorial and I'll get back to you.

    1. Jan 15

      Damien Evans says:

      Very cool, thanks! You should be able to add an attachment by clicking on "Add"...

      Very cool, thanks! You should be able to add an attachment by clicking on "Add" in the upper right corner, and then selecting "Attachment".

      1. Jan 15

        Wisam Al-Rawi says:

        I added the attachment before writing the comment but you have to click on Tools...

        I added the attachment before writing the comment but you have to click on Tools from top to be able to see it and download it.