# Mysqli\_sql\_exception

**URL:** <https://forum.infinityfree.com/t/mysqli-sql-exception/122329>\
**Category:** Hosting Support\
**Created:** [December 4, 2026, 2:29pm UTC](https://forum.infinityfree.com/t/mysqli-sql-exception/122329 "2026-12-04T14:29:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolas\_pozzo](https://forum.infinityfree.com/letter_avatar/nicolas_pozzo/32/6_449c533f586939b6e5f246632a46421f.png) [@nicolas\_pozzo](https://forum.infinityfree.com/u/nicolas_pozzo)\
**Post date:** [December 4, 2026, 2:29pm UTC](https://forum.infinityfree.com/t/mysqli-sql-exception/122329/1 "2026-12-04T14:29:26Z")

</div>

### Website URL

[https://midepositovirtual.com.ar/](https://midepositovirtual.com.ar/)

### Error Message

Hello InfinityFree Support,

My website is currently returning an HTTP 500 error.

The PHP error is:

mysqli\_sql\_exception: Connection timed out

My MySQL hostname is [sql304.infinityfree.com](http://sql304.infinityfree.com).

I also cannot access phpMyAdmin. When I try to open MySQL Databases in the control panel, I receive:

“An error occurred while connecting to the hosting platform. Please try again later or use the control panel.”

Could you please check whether there is a connectivity issue with [sql304.infinityfree.com](http://sql304.infinityfree.com) or my hosting account?

Please do not delete or modify my existing database or its data.

Thank you.

### Other Information

nn.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [December 4, 2026, 2:29pm UTC](https://forum.infinityfree.com/t/mysqli-sql-exception/122329/2 "2026-12-04T14:29:26Z")

</div>

Welcome to the InfinityFree community forum! Good to have you here.

- Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
- Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
- AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
- Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

---

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [December 4, 2026, 2:30pm UTC](https://forum.infinityfree.com/t/mysqli-sql-exception/122329/3 "2026-12-04T14:30:00Z")

</div>

_Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look._

Does the MySQL Databases page load now, and does the site still show the timeout? Also, which hostname does your config file use? It should be exactly `sql304.infinityfree.com`, the MySQL host your account shows.

The control panel error looks like a separate problem from the timeout. In another topic, Admin said that exact message means there was a connection issue between the control panel and the members area.

Those logs showed it clearing up, and the status page has an open incident about members area connectivity. It’s now marked as monitoring, with the issue appearing resolved.

Admin’s answer in the other topic:

> [@Unable to Access MySQL Databases and phpMyAdmin – Hosting Platform Error](https://forum.infinityfree.com/t/unable-to-access-mysql-databases-and-phpmyadmin-hosting-platform-error/122266):
>
> Website URL [https://golos-yakutii.free.je](https://golos-yakutii.free.je)Error Message Hello! I am experiencing exactly the same problem. My account username is if0\_43563670, and my website is golos-yakutii.free.je. My website works correctly and can connect to its MySQL database. However, the MySQL Databases page displays the same hosting platform connection error. I also previously received a 504 Gateway Time-out error when trying to access the Control Panel. It seems that multiple InfinityFree users are experiencing …

The incident:

> **[Members Area is unreachable | InfinityFree Status](https://status.infinityfree.com/issues/2026-12-04-memberarea-down/)**
>
> Monitoring - The issue appears to be resolved and the members area is reachable again. We are monitoring the situation and will close this incident if everything stays stable. 
> (4 Dec - 13:25 UTC)
> 
> 
> 
> Investigating - We are investigating...

I didn’t find a source that says what causes `Connection timed out` on a specific MySQL server, so I can’t say whether the incident explains your site’s error.

---

<div class="post-metadata">

**Author:** ![nicolas\_pozzo](https://forum.infinityfree.com/letter_avatar/nicolas_pozzo/32/6_449c533f586939b6e5f246632a46421f.png) [@nicolas\_pozzo](https://forum.infinityfree.com/u/nicolas_pozzo)\
**Post date:** [December 4, 2026, 2:34pm UTC](https://forum.infinityfree.com/t/mysqli-sql-exception/122329/4 "2026-12-04T14:34:56Z")

</div>

Hi! Thanks for your reply.

Here is my situation:

1. My website [https://midepositovirtual.com.ar](https://midepositovirtual.com.ar) still shows an HTTP 500 error.

2. The PHP error is:

`mysqli_sql_exception: Connection timed out`

1. My MySQL hostname is exactly `sql304.infinityfree.com`.

2. When I try to access MySQL Databases through the control panel, I get:

“An error occurred while connecting to the hosting platform. Please try again later or use the control panel.”

I currently cannot access phpMyAdmin to check my database.

Could you help me determine whether this is a MySQL server connectivity issue or a control panel issue?

Thank you!
