# Failure to setup server while installing openmrs-sdk-2.13.0

**URL:** <https://talk.openmrs.org/t/failure-to-setup-server-while-installing-openmrs-sdk-2-13-0/40211>\
**Category:** Ask OpenMRS\
**Tags:** openmrs-sdk\
**Created:** [August 8, 2023, 9:10am UTC](https://talk.openmrs.org/t/failure-to-setup-server-while-installing-openmrs-sdk-2-13-0/40211 "2023-08-08T09:10:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamonyo](https://talk.openmrs.org/letter_avatar/kamonyo/32/6_449c533f586939b6e5f246632a46421f.png) [@kamonyo](https://talk.openmrs.org/u/kamonyo)\
**Post date:** [August 8, 2023, 9:10am UTC](https://talk.openmrs.org/t/failure-to-setup-server-while-installing-openmrs-sdk-2-13-0/40211/1 "2023-08-08T09:10:12Z")

</div>

**openmrs-sdk:**** 2.13.0**

**Question:** I am having trouble setting up openmrs-sdk 2.13.0 with MySQL installation. While starting ‘openmrs-sdk-mysql-v3-2’ DB docker container, I am getting this build failure message:

**[ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:5.2.0:setup (default-cli) on project standalone-pom: Failed to setup server: Failed to connect to the specified database jdbc:mysql://localhost:3308/openmrs-dev?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&sessionVariables=default\_storage\_engine%3DInnoDB: No suitable driver found for jdbc:mysql://localhost:3308/**

I am wondering if the port is supposed to be 3308 or 3306 instead!

Here is my pastebin: [OpenMRS-SKD installation failure - Pastebin.com](https://pastebin.com/LFxmYt0n)

@dkayiwa

---

<div class="post-metadata">

**Author:** ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)\
**Post date:** [August 8, 2023, 10:07am UTC](https://talk.openmrs.org/t/failure-to-setup-server-while-installing-openmrs-sdk-2-13-0/40211/2 "2023-08-08T10:07:56Z")

</div>

Oh sorry! The error message you provided indicates that the Maven build process failed to set up an OpenMRS server due to a database connection issue. Specifically, it’s failing to find a suitable driver for the MySQL database connection. You can try out the following to fix the issue:

1. Check Database URL: Make sure the database URL in your OpenMRS configuration is correct. The URL should be in the format `jdbc:mysql://localhost:3308/openmrs-dev` .

2. Port and Connection: Double-check that your MySQL server is running on `localhost` at port `3308` , and that the `openmrs-dev` database is present. If not, adjust the URL and port accordingly.

3. Verify that your database configuration in OpenMRS settings is correct. Check the `openmrs-runtime.properties` or similar configuration file for the correct database URL, username, and password.

4. Make sure the MySQL server is up and running on the specified port (`3308` in your case). If it’s not, start the MySQL server.

5. lastly, Ensure that there are no firewall restrictions or security settings preventing the connection to the database.

---

<div class="post-metadata">

**Author:** ![mherman22](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mherman22/32/20233_2.png) [@mherman22](https://talk.openmrs.org/u/mherman22)\
**Post date:** [March 27, 2024, 3:39pm UTC](https://talk.openmrs.org/t/failure-to-setup-server-while-installing-openmrs-sdk-2-13-0/40211/3 "2024-03-27T15:39:53Z")

</div>

faced a similar issue today but the work around was when i changed the jdk from **11** back to **1.8**
