# Why the SDK can not find this plugin

**URL:** <https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644>\
**Category:** Development\
**Created:** [June 2, 2021, 1:35pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644 "2021-06-02T13:35:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![d404d](https://talk.openmrs.org/letter_avatar/d404d/32/5_5575768a8748004e209b776fc1b2916d.png) [@d404d](https://talk.openmrs.org/u/d404d)\
**Post date:** [June 2, 2021, 1:35pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/1 "2021-06-02T13:35:24Z")

</div>

Hi, all, I’m using the OpenMRS-SDK to install the OpenMRS Platform, but it reported this [error](https://pastebin.com/U67LUSW8). Can anyone help me fix it? Thank you very much!

---

<div class="post-metadata">

**Author:** ![d404d](https://talk.openmrs.org/letter_avatar/d404d/32/5_5575768a8748004e209b776fc1b2916d.png) [@d404d](https://talk.openmrs.org/u/d404d)\
**Post date:** [June 2, 2021, 1:40pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/2 "2021-06-02T13:40:34Z")

</div>

It reports this error when I chose the MySQL 5.6 and above in SDK docker…

---

<div class="post-metadata">

**Author:** ![navareth](https://talk.openmrs.org/user_avatar/talk.openmrs.org/navareth/32/14224_2.png) [@navareth](https://talk.openmrs.org/u/navareth)\
**Post date:** [June 2, 2021, 1:42pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/3 "2021-06-02T13:42:39Z")

</div>

I am having the exact same problem.

---

<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:** [June 2, 2021, 2:11pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/4 "2021-06-02T14:11:31Z")

</div>

@d404d and @navareth sorry for the error! Kindly, Is it okay to use [pastebin](https://pastebin.com/) to share the entire error log?

---

<div class="post-metadata">

**Author:** ![navareth](https://talk.openmrs.org/user_avatar/talk.openmrs.org/navareth/32/14224_2.png) [@navareth](https://talk.openmrs.org/u/navareth)\
**Post date:** [June 2, 2021, 2:24pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/5 "2021-06-02T14:24:21Z")

</div>

There you go: [https://pastebin.com/0Mdmf7P2](https://pastebin.com/0Mdmf7P2)

---

<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:** [June 2, 2021, 2:33pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/6 "2021-06-02T14:33:23Z")

</div>

Basing on the logs shared above did you forget to select the database you would like to use?:

---

<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:** [June 2, 2021, 2:36pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/7 "2021-06-02T14:36:22Z")

</div>

@navareth I would suggest you select option 1 which is `1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)` if you installed Mysql or option 4 if you are running PostgreSQL

---

<div class="post-metadata">

**Author:** ![navareth](https://talk.openmrs.org/user_avatar/talk.openmrs.org/navareth/32/14224_2.png) [@navareth](https://talk.openmrs.org/u/navareth)\
**Post date:** [June 2, 2021, 2:40pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/8 "2021-06-02T14:40:19Z")

</div>

Not at all, I’m just using “tee” Unix command to redirect console output to a file. That’s why it doesn’t show any user input 😃 By the way, I’ve chosen 2 which is printed by the script later on

---

<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:** [June 2, 2021, 2:41pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/9 "2021-06-02T14:41:14Z")

</div>

Kindly try option 1

---

<div class="post-metadata">

**Author:** ![navareth](https://talk.openmrs.org/user_avatar/talk.openmrs.org/navareth/32/14224_2.png) [@navareth](https://talk.openmrs.org/u/navareth)\
**Post date:** [June 2, 2021, 2:46pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/11 "2021-06-02T14:46:21Z")

</div>

That of course works but that’s not the point. We’re just reporting that option 2 doesn’t work as of right now 🙂

---

<div class="post-metadata">

**Author:** ![d404d](https://talk.openmrs.org/letter_avatar/d404d/32/5_5575768a8748004e209b776fc1b2916d.png) [@d404d](https://talk.openmrs.org/u/d404d)\
**Post date:** [June 2, 2021, 2:48pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/12 "2021-06-02T14:48:15Z")

</div>

Yes, I have tried this option, but report this error. The following is what I enter

The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: ‘jdbc:mysql://localhost:3306/@DBNAME@’): jdbc:mysql://locallhost:3306/openmrs

Please specify database username (-DdbUser) (default: ‘root’):

Please specify database password (-DdbPassword):

 ![Screenshot 2021-06-02 at 15.47.04](https://talk.openmrs.org/uploads/default/original/2X/f/f15d37f3e20f568b600d4ec94e5b9a44634e13df.png)

---

<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:** [June 2, 2021, 2:48pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/13 "2021-06-02T14:48:24Z")

</div>

> [@d404d](#):
>
> what should I enter for the database name?

good question! the database name has `default root` just press enter without entering/typing anything. The password to be used is the password to root you created while installing Mysql.

---

<div class="post-metadata">

**Author:** ![d404d](https://talk.openmrs.org/letter_avatar/d404d/32/5_5575768a8748004e209b776fc1b2916d.png) [@d404d](https://talk.openmrs.org/u/d404d)\
**Post date:** [June 2, 2021, 2:49pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/14 "2021-06-02T14:49:13Z")

</div>

By the way,I have make sure the mysql can be used

---

<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:** [June 2, 2021, 2:50pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/15 "2021-06-02T14:50:27Z")

</div>

Hope you installed Mysql and you remember the password to `root`

---

<div class="post-metadata">

**Author:** ![ibacher](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ibacher/32/19751_2.png) [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Post date:** [June 2, 2021, 3:11pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/16 "2021-06-02T15:11:16Z")

</div>

It would be helpful if you could include the full output of what you are running in [pastebin.com](http://pastebin.com) rather than a screenshot of a portion of the output, as @navareth did above. There isn’t really much information in that screen shot to enable anyone to help you diagnose what’s going on.

---

<div class="post-metadata">

**Author:** ![ibacher](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ibacher/32/19751_2.png) [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Post date:** [June 2, 2021, 3:11pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/17 "2021-06-02T15:11:50Z")

</div>

> [@navareth](#):
>
> That of course works but that’s not the point. We’re just reporting that option 2 doesn’t work as of right now 🙂

Would you be able to open a ticket for this in the SDK project? That definitely seems like some kind of bug.

---

<div class="post-metadata">

**Author:** ![d404d](https://talk.openmrs.org/letter_avatar/d404d/32/5_5575768a8748004e209b776fc1b2916d.png) [@d404d](https://talk.openmrs.org/u/d404d)\
**Post date:** [June 2, 2021, 3:13pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/18 "2021-06-02T15:13:53Z")

</div>

There it is [pastebin](https://pastebin.com/XuJqd0Tp). Thank you

---

<div class="post-metadata">

**Author:** ![ibacher](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ibacher/32/19751_2.png) [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Post date:** [June 2, 2021, 3:17pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/19 "2021-06-02T15:17:06Z")

</div>

There’s a typo in the URL you are using (it needs to be `localhost` rather than `locallhost`). `jdbc:mysql://locallhost:3306/openmrs` should be `jdbc:mysql://localhost:3306/openmrs` (note that the `@DB_NAME@` placeholder is probably also usable here, e.g., just accept the default). Sorry I didn’t notice the typo before.

---

<div class="post-metadata">

**Author:** ![ibacher](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ibacher/32/19751_2.png) [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Post date:** [June 2, 2021, 3:19pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/20 "2021-06-02T15:19:10Z")

</div>

> [@ibacher](#):
>
> Would you be able to open a ticket for this in the SDK project? That definitely seems like some kind of bug.

PS another workaround for this is to create the Docker image manually and use option 3. Something like this:

```auto
docker run --name mysql-5 -e MYSQL_ROOT_PASSWORD=<choose password> -e MYSQL_USER=openmrs -e MYSQL_PASSWORD=<choose password> -p 3309:3306 -h mysql-5 --restart unless-stopped -d mysql:5.6 --character-set-server=utf8 --collation-server=utf8_unicode_ci

```

---

<div class="post-metadata">

**Author:** ![d404d](https://talk.openmrs.org/letter_avatar/d404d/32/5_5575768a8748004e209b776fc1b2916d.png) [@d404d](https://talk.openmrs.org/u/d404d)\
**Post date:** [June 2, 2021, 3:23pm UTC](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644/21 "2021-06-02T15:23:42Z")

</div>

Sorry, although I fixed the typo error, there is still an error here [pastebin](https://pastebin.com/qPP1USCm).

Besides, I also tried to use the default value for the whole option except the database password, and the error report is here, [pastebin](https://pastebin.com/r9y4MqQu)

[Next page](https://talk.openmrs.org/t/why-the-sdk-can-not-find-this-plugin/33644.md?page=2)
