# Help - Connection to database failed using Mysql

**URL:** <https://community.weweb.io/t/help-connection-to-database-failed-using-mysql/15276>\
**Category:** Ask us anything\
**Created:** [January 8, 2025, 11:51pm UTC](https://community.weweb.io/t/help-connection-to-database-failed-using-mysql/15276 "2025-01-08T23:51:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KevinChin](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@KevinChin](https://community.weweb.io/u/KevinChin)\
**Post date:** [January 8, 2025, 11:51pm UTC](https://community.weweb.io/t/help-connection-to-database-failed-using-mysql/15276/1 "2025-01-08T23:51:06Z")

</div>

Hello community,

I’m new to this platform and WeWeb. I’ve been trying to connect to a mysql server that I’ve created on my local machine and I’m getting this error. Is there some other prereq I need to install?

Thanks in advance for your help with this.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/5b1e465e31b7dfe2ef8e9479b436316b1a756c65.png)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 9, 2025, 7:28am UTC](https://community.weweb.io/t/help-connection-to-database-failed-using-mysql/15276/2 "2025-01-09T07:28:44Z")

</div>

If you’re doing a public app I highly discourage using MySQL directly for security concerns.

---

<div class="post-metadata">

**Author:** ![KevinChin](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@KevinChin](https://community.weweb.io/u/KevinChin)\
**Post date:** [January 9, 2025, 3:10pm UTC](https://community.weweb.io/t/help-connection-to-database-failed-using-mysql/15276/3 "2025-01-09T15:10:14Z")

</div>

Hi Broberto. This app will be internal to our org.
