# Mysql connection on webhost fail

**URL:** <https://forum.inductiveautomation.com/t/mysql-connection-on-webhost-fail/12065>\
**Category:** Archived Topics\
**Created:** [August 25, 2016, 1:58am UTC](https://forum.inductiveautomation.com/t/mysql-connection-on-webhost-fail/12065 "2016-08-25T01:58:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jhahn](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@Jhahn](https://forum.inductiveautomation.com/u/Jhahn)\
**Post date:** [August 25, 2016, 1:58am UTC](https://forum.inductiveautomation.com/t/mysql-connection-on-webhost-fail/12065/1 "2016-08-25T01:58:51Z")

</div>

I realize that there is one similar to my question but it is a few years old.  
my connection address

jdbc:mysql://mycoolwebsite.com:3306/wrchtnoy\_test

where wrchtnoy\_test is the db name

I have tried the hosting credentials which according to the knowledge base should work  
have also tried the db username and password  
the db and username should have  
wrchtnoy\_

as a prefix. thanks.

---

<div class="post-metadata">

**Author:** ![accyroy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/accyroy/32/3386_2.png) [@accyroy](https://forum.inductiveautomation.com/u/accyroy)\
**Post date:** [August 25, 2016, 3:30am UTC](https://forum.inductiveautomation.com/t/mysql-connection-on-webhost-fail/12065/2 "2016-08-25T03:30:45Z")

</div>

Your webhosts server probably doesn’t have port 3306 open to remote connections. Most webhosts only allow localhost connections to the DB server. You’ll need to get port 3306 opened and your mysql user must be allowed to connect from a remote host. If you open a ticket with your hosts they may be able to fix this for you.

---

<div class="post-metadata">

**Author:** ![Jhahn](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@Jhahn](https://forum.inductiveautomation.com/u/Jhahn)\
**Post date:** [August 25, 2016, 9:12pm UTC](https://forum.inductiveautomation.com/t/mysql-connection-on-webhost-fail/12065/3 "2016-08-25T21:12:19Z")

</div>

Thanks
