• OpenKM 6.2 MySQL Datastore

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #21666  by Superpan
 
Sorry to dig up this old thread but I have a question regarding MySQL:
If there are 2 instances of MySQl running on the same machine (windows xp) then apart from

hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
and
repository.datastore.backend=db

how OpenKM knows which instance of MySQL it is talking to?

Thank you in advance.
 #21668  by techexpress
 
If you have two instances of MySql, I think you need to use 2 differents TCP/IP Port
3306 and 3307 for example so you need to insert the good one in /opt/okmpro/tomcat/conf/server.xml
Code: Select all
<Resource name="jdbc/OpenKMDS" auth="Container" type="javax.sql.DataSource"
          maxActive="100" maxIdle="30" maxWait="10000" validationQuery="select 1"
          username="openkm" password="*bigsecret*" driverClassName="com.mysql.jdbc.Driver"
          url="jdbc:mysql://localhost:3306/okmdb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"/>
Have a nice day
 #21705  by Superpan
 
Thank you for the response! I had forgotten this configuration in the server.xml. I will write the correct port in there.
Thanks again!
Keep on the good job guys.

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.