# Unable to connect to mysql database on same server as bitnami install

**URL:** <https://community.dreamfactory.com/t/unable-to-connect-to-mysql-database-on-same-server-as-bitnami-install/1763>\
**Category:** Connecting to SQL\
**Created:** [November 12, 2015, 5:47pm UTC](https://community.dreamfactory.com/t/unable-to-connect-to-mysql-database-on-same-server-as-bitnami-install/1763 "2015-11-12T17:47:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markaduffy](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/markaduffy/32/205_2.png) [@markaduffy](https://community.dreamfactory.com/u/markaduffy)\
**Post date:** [November 12, 2015, 5:47pm UTC](https://community.dreamfactory.com/t/unable-to-connect-to-mysql-database-on-same-server-as-bitnami-install/1763/1 "2015-11-12T17:47:54Z")

</div>

Hi,

Im having issues creating mysql service. The database is on the same server. Using a different instance on port 3306. Dreamfactory’s Bitnami, MySQL server is on 3307.

I can connect to the database through MySQL workbench, and triple checked the credentials.

One thing that’s different from 1.x is the service definitions don’t seem to be created. It just says.

{  
“resourcePath”: “newResourcePath”  
}

–Mark

---

<div class="post-metadata">

**Author:** ![markaduffy](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/markaduffy/32/205_2.png) [@markaduffy](https://community.dreamfactory.com/u/markaduffy)\
**Post date:** [November 12, 2015, 8:31pm UTC](https://community.dreamfactory.com/t/unable-to-connect-to-mysql-database-on-same-server-as-bitnami-install/1763/2 "2015-11-12T20:31:11Z")

</div>

I’m not sure how bitnami works, but what do I need to do to have two instances of MySQL working.

---

<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:** [November 12, 2015, 8:42pm UTC](https://community.dreamfactory.com/t/unable-to-connect-to-mysql-database-on-same-server-as-bitnami-install/1763/3 "2015-11-12T20:42:22Z")

</div>

Not sure. Bitnami support may help on that count.

I just run one instance myself, with multiple DBs in it.

---

<div class="post-metadata">

**Author:** ![Luciano\_Candiani](https://avatars.discourse-cdn.com/v4/letter/l/ecae2f/32.png) [@Luciano\_Candiani](https://community.dreamfactory.com/u/Luciano_Candiani)\
**Post date:** [November 16, 2015, 1:05pm UTC](https://community.dreamfactory.com/t/unable-to-connect-to-mysql-database-on-same-server-as-bitnami-install/1763/4 "2015-11-16T13:05:26Z")

</div>

i had a similar problem to access to mysql on premises. To solve this I must instance my local DB as 127.0.0.1 and not as localhost (look for a similar thread with title “Error logging to MySql on premises”) Hope this help you
