• changed to MySQL after HSQL database created

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #20785  by vicente
 
My plan while installing openkm 6.2 Community was to use MySQL instead of HSQL as the database type but I forgot one important step.
I neglected to make the changes described in the web page http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2 prior to starting openkm by executing /tomcat/bin/startup.sh. Openkm therefore created the HSQL database.

Rather than repeating the installation of openkm I decided to try to change the database from the default to MySQL.
I stopped openkm by executing /tomcat/bin/shutdown.sh and then (after waiting for shutdown to complete) made the edits indicated in the above web page.

The process seems to have worked but I am disturbed by the caution on the above web page that I should not change databases once the databases have been created (or is it initialized?) . I am worried of hidden problems that may surface later. Do I have reason to worry? Do I need to delete the HSQL database?

By the way, I found to my surprise that I did not need to make any changes to OpenKM.xml as my file already had the correct information.

I would also like to suggest that, for clarity's sake , the word "databases" be changed to "tables" in the sentence "In this OpenKM release you can create the databases automatically configuring the hibernate.dialect and hibernate.hbm2ddl properties in OpenKM.cfg. " , since the openkm database needs to be manually created.

Thank you again for a wonderful product and the excellent community support.
 #20964  by jllort
 
Yes OpenKM 6.x database configuration is more easy to configure and is not needed to change OpenKM.xml. Simply changin server.xml and OpenKM.cfg is enought to switch to Mysql. If you want to be in peace simply create a user from administration and make a select into OKM_USER tables on your mysql database. But if is as you explain here there's no problem and all is right.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.