# Wordpress Database Error

**URL:** <https://forum.infinityfree.com/t/wordpress-database-error/47124>\
**Category:** Hosting Support\
**Created:** [June 15, 2021, 8:36pm UTC](https://forum.infinityfree.com/t/wordpress-database-error/47124 "2021-06-15T20:36:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon15791603](https://forum.infinityfree.com/letter_avatar/anon15791603/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon15791603](https://forum.infinityfree.com/u/anon15791603)\
**Post date:** [June 15, 2021, 8:36pm UTC](https://forum.infinityfree.com/t/wordpress-database-error/47124/1 "2021-06-15T20:36:49Z")

</div>

Hi  
I recently installed WordPress via the 1-click install. I tripled checked the DB name, username and password. I even changed the password just to be sure. Initially, I couldn’t log into my dashboard but now I keep getting the same error messages every time I try to change anything. I turned on the debugger to see what’s up but I don’t know what to change the code to so that the problem is permanently fixed. Can some please help? Thank you.

Error messages:  
**Warning** : mysqli\_real\_connect(): (HY000/2002): Connection timed out in **/home/vol18\_1/epizy.com/epiz\_28890326/htdocs/wp-includes/wp-db.php** on line **1653**

**Deprecated** : mysql\_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in **/home/vol18\_1/epizy.com/epiz\_28890326/htdocs/wp-includes/wp-db.php** on line **1685**

**Warning** : mysql\_connect(): Connection timed out in **/home/vol18\_1/epizy.com/epiz\_28890326/htdocs/wp-includes/wp-db.php** on line **1685**

`Connection timed out`

---

<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:** [June 15, 2021, 8:55pm UTC](https://forum.infinityfree.com/t/wordpress-database-error/47124/2 "2021-06-15T20:55:21Z")

</div>

> [@Read this before posting a new topic](https://forum.infinityfree.com/t/read-this-before-posting-a-new-topic/47006/2):
>
> Not bad, but remember this is what the pinned topics are for. Also, you forgot to think the official (Or semi-official) topics for these error. 502 - Bad Gateway IP 185.27.134.133 SSL Certificate Failed, Pending, Not found IP 185.27.134.116 and 185.27.134.98 not working Error Establishing a Database Connection - Database Not Found [https://forum.infinityfree.com/search?q=MySQL%20order:latest](https://forum.infinityfree.com/search?q=MySQL%20order:latest) As @robertz said, Please do not Ping the Admin Please do not create new topics on these erro…

---

<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:** [June 22, 2021, 8:56pm UTC](https://forum.infinityfree.com/t/wordpress-database-error/47124/3 "2021-06-22T20:56:06Z")

</div>

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