# MySQL Connection Issue Remote DB

**URL:** <https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820>\
**Category:** REST API\
**Created:** [February 6, 2015, 2:42am UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820 "2015-02-06T02:42:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mspruell](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@mspruell](https://community.dreamfactory.com/u/mspruell)\
**Post date:** [February 6, 2015, 2:42am UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820/1 "2015-02-06T02:42:36Z")

</div>

Okay - I’m not sure WHAT I’m doing wrong here. Really would appreciate some help! I have looked everywhere in forums and via searching online for some help, but am getting nowhere. Apparently I can’t upload photos or share links to photos so this is a little hard to describe.

My setup is like this:  
Service type: Remote SQL DB  
API name: sql  
Name: SQL  
Active: True  
Username: myusername  
password: mypassword  
Connection String: mysql:xxx.xx.xx.xxx;port=3306;database=database\_name;

The error I am getting is error 500 - cDB Connection failed: failed to open the connection.

I so appreciate your help.

---

<div class="post-metadata">

**Author:** ![toddappleton](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/toddappleton/32/159_2.png) [@toddappleton](https://community.dreamfactory.com/u/toddappleton)\
**Post date:** [February 6, 2015, 2:26pm UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820/2 "2015-02-06T14:26:41Z")

</div>

Your DSP might be missing a driver. How did you install DreamFactory? GitHub, Bitnami, etc. And what OS?

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [February 6, 2015, 2:32pm UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820/3 "2015-02-06T14:32:04Z")

</div>

What is logged in your DSP’s logs when this error is thrown?

---

<div class="post-metadata">

**Author:** ![tborja](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/tborja/32/81_2.png) [@tborja](https://community.dreamfactory.com/u/tborja)\
**Post date:** [April 7, 2015, 9:12am UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820/4 "2015-04-07T09:12:06Z")

</div>

Hello Todd,

I am getting the cDB Connection and my DF was installed using bitnami v1.9.0 running on Ubuntu 14.04 x64 server. Which DF install sources are missing a driver and what driver is this that’s missing?

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [April 7, 2015, 11:19am UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820/5 "2015-04-07T11:19:28Z")

</div>

Hi @tborja, what is logged in your DSP’s logs when the MySQL connection attempt fails?

---

<div class="post-metadata">

**Author:** ![pshapur123](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pshapur123](https://community.dreamfactory.com/u/pshapur123)\
**Post date:** [April 10, 2015, 5:55am UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820/6 "2015-04-10T05:55:48Z")

</div>

I installed Bitnami in windows 7 but not able to connect to MySql.

I am getting the error The error I am getting is error 500 - cDB Connection failed: failed to open the connection.

As you mentioned in the previous reply, which driver need to install and how to install for MySQL.

Please let me know.

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [April 13, 2015, 3:03pm UTC](https://community.dreamfactory.com/t/mysql-connection-issue-remote-db/820/7 "2015-04-13T15:03:13Z")

</div>

Hi @pshapur123, the Bitnami package in Windows comes ready to connect to MySQL without additional driver installation. Please let me know what is logged in your DSP’s logs when the MySQL connection attempt fails, and we can go from there.
