# I have a problem with connect to mysql database

**URL:** <https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394>\
**Category:** Hosting Support\
**Created:** [February 22, 2022, 6:46pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394 "2022-02-22T18:46:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon43911882](https://forum.infinityfree.com/letter_avatar/anon43911882/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon43911882](https://forum.infinityfree.com/u/anon43911882)\
**Post date:** [February 22, 2022, 6:46pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/1 "2022-02-22T18:46:15Z")

</div>

# epiz\_31097322 (Website for qusa.cf)

i have a problem with connect to mysql database

I tried to connect to mysql, but I get an access error. I rechecked the connection data several times, the error did not go away

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [February 22, 2022, 6:48pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/2 "2022-02-22T18:48:00Z")

</div>

“It does not work” is not useful to help us help you. Please provide the code you are using (Hide the password), as well as the exact error message.

Thanks

---

<div class="post-metadata">

**Author:** ![anon43911882](https://forum.infinityfree.com/letter_avatar/anon43911882/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon43911882](https://forum.infinityfree.com/u/anon43911882)\
**Post date:** [February 22, 2022, 6:52pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/3 "2022-02-22T18:52:20Z")

</div>

before using the server , I decided to check it on this site [MySQL Connection Test](https://www.rainbowspuppiessunshine.com/tools/dbtest) / as a result, I was given an access error every time

User = epiz\_31097322  
Password = \*\*\*\*\*\*\*\*  
Database = epiz\_31097322\_osu  
Server = [sql108.epizy.com](http://sql108.epizy.com)  
Port = 3306

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [February 22, 2022, 6:53pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/4 "2022-02-22T18:53:31Z")

</div>

Yes, external services will always give an error, because of a security system. Please check the connection on your InfinityFree hosted site, not an external one.

---

<div class="post-metadata">

**Author:** ![anon43911882](https://forum.infinityfree.com/letter_avatar/anon43911882/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon43911882](https://forum.infinityfree.com/u/anon43911882)\
**Post date:** [February 22, 2022, 6:55pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/5 "2022-02-22T18:55:00Z")

</div>

so I can’t use the host for external servers??

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [February 22, 2022, 6:55pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/6 "2022-02-22T18:55:51Z")

</div>

No. You cannot connect to an InfinityFree database from outside InfinityFree. InfinityFree is mean to host websites, not databases.

> [@Connecting to MySQL from an external application](https://forum.infinityfree.com/t/connecting-to-mysql-from-an-external-application/49339):
>
> Sometimes, you may want to connect to your MySQL database on your free hosting account using external software, like a desktop database manager (like MySQL Workbench) or an external program you wrote yourself (like an Android or iOS app). You cannot connect to a free hosting MySQL database from outside your hosting account. You can only interact with your free hosting database through PHP scripts uploaded to your free hosting account, or through our phpMyAdmin installation. The ability to con…

---

<div class="post-metadata">

**Author:** ![anon43911882](https://forum.infinityfree.com/letter_avatar/anon43911882/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon43911882](https://forum.infinityfree.com/u/anon43911882)\
**Post date:** [February 22, 2022, 6:56pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/7 "2022-02-22T18:56:36Z")

</div>

ok. thank you for support

---

<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:** [March 1, 2022, 6:57pm UTC](https://forum.infinityfree.com/t/i-have-a-problem-with-connect-to-mysql-database/58394/8 "2022-03-01T18:57:17Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
