# MariaDB as Remote DB

**URL:** <https://community.dreamfactory.com/t/mariadb-as-remote-db/548>\
**Category:** Connecting to SQL\
**Created:** [November 14, 2014, 9:29am UTC](https://community.dreamfactory.com/t/mariadb-as-remote-db/548 "2014-11-14T09:29:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 14, 2014, 1:27pm UTC](https://community.dreamfactory.com/t/mariadb-as-remote-db/548/2 "2014-11-14T13:27:03Z")

</div>

Hello there,

MariaDB should indeed work fine with a normal MySQL connection string (that is, **mysql:** is fine). I believe you will need to specify the port using the **port=** parameter rather than using a colon and port number after the host value. Given your example, this would become:

```
mysql:host=mariadb.myserver.com;port=3310;dbname=XYZ;

```

I tested this on a remotely hosted MySQL DB of my own. The DB connection fails with **host=hostname:port** but works fine with **host=hostname;port=port**.

Please try using the **port=** parameter in your connection string, and let me know if that works.

Regards,  
Jeffrey

---

_[View the full topic](https://community.dreamfactory.com/t/mariadb-as-remote-db/548)._
