Database Configuration

78 views
Skip to first unread message

kaisha...@gmail.com

unread,
Jul 17, 2014, 5:54:08 AM7/17/14
to openhd...@googlegroups.com
Hi,
     I am unable to configure MySQL database as shown in this link .
My local database i.e MySQl is running on the port:3306  

I populated the fields in data configuration form as shown below:

Database Type:MySQL
Username:root
Password:***
url: jdbc:mysql://localhost:3306/openhds
Driver: com.mysql.jdbc.Driver

But I am getting the following error:
  • Error executing script. Exception : com.mysql.jdbc.Driver
Can anyone please tell as to where I am going wrong.

Benjamin Heasly

unread,
Jul 17, 2014, 10:38:46 AM7/17/14
to openhd...@googlegroups.com, kaisha...@gmail.com
Hi,

You may need to add a jar file to your tomcat lib folder.  This will allow OpenHDS to access MySQL.  You can find the jar file from the MySQL developer site:

Does this help?

Ben

kaisha...@gmail.com

unread,
Jul 18, 2014, 12:27:40 AM7/18/14
to openhd...@googlegroups.com, kaisha...@gmail.com
Hi Benjamin,

          It worked . Thanks a lot .

ayant...@gmail.com

unread,
Jan 3, 2018, 8:10:34 AM1/3/18
to openhds-users



     I am  configured MySQL database on window operating system
     but am not able to get openhds true.
    am pasted java connecter to tomcat library
 and I followed all necessary step to install but unfortunately I didn't get openhds true therefore I need help

Bruce MacLeod

unread,
Jan 13, 2018, 12:21:59 PM1/13/18
to openhds-users
My apologies for the delayed response. 

Did you manage to get things running in the meantime ? 
  
If not, did you following the instructions at https://github.com/SwissTPH/openhds/blob/master/doc/OpenHDS_Manual.pdf ?

If you are still having problems and you followed the instructions quite closely, then we will need to look at the content of the tomcat logs (https://wiki.apache.org/tomcat/FAQ/Logging and google search will help locate information to help debug). 

Hope this helps, 

Bruce MacLeod
Reply all
Reply to author
Forward
0 new messages