# WordPress cannot select new MySQL database

**URL:** <https://forum.infinityfree.com/t/wordpress-cannot-select-new-mysql-database/121552>\
**Category:** Hosting Support\
**Created:** [October 24, 2026, 2:26am UTC](https://forum.infinityfree.com/t/wordpress-cannot-select-new-mysql-database/121552 "2026-10-24T02:26:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaolaSolarInsights](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/paolasolarinsights/32/68403_2.png) [@PaolaSolarInsights](https://forum.infinityfree.com/u/PaolaSolarInsights)\
**Post date:** [October 24, 2026, 2:26am UTC](https://forum.infinityfree.com/t/wordpress-cannot-select-new-mysql-database/121552/1 "2026-10-24T02:26:52Z")

</div>

### Website URL

[https://blog.paolasolarinsights.com](https://blog.paolasolarinsights.com)

### Error Message

WordPress displays the error “Cannot select database” when I visit [https://blog.paolasolarinsights.com/wp-admin/](https://blog.paolasolarinsights.com/wp-admin/).

The database server is reachable, but WordPress cannot select the database if0\_43254055\_blognuevo.

The database exists in my InfinityFree account, and I can open it in phpMyAdmin and see the WordPress tables. The MySQL username configured in wp-config.php is if0\_43254055, and the database host is [sql305.infinityfree.com](http://sql305.infinityfree.com).

Could you please help me determine why WordPress cannot select this database and how to configure the connection correctly?

### Other Information

My temporary WordPress website, [https://paolablog.fwh.is](https://paolablog.fwh.is), is still working correctly, and I want to keep it intact.

I created a new database named if0\_43254055\_blognuevo and imported my WordPress database into it. I updated the DB\_NAME setting in the new domain’s wp-config.php file and changed the siteurl and home values in the new database to [https://blog.paolasolarinsights.com](https://blog.paolasolarinsights.com).

However, the new website displays “Cannot select database”. I can access the new database through phpMyAdmin and see its WordPress tables.

Please help me resolve this database connection issue without affecting my working temporary website or its original database.

---

<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:** [October 24, 2026, 2:27am UTC](https://forum.infinityfree.com/t/wordpress-cannot-select-new-mysql-database/121552/2 "2026-10-24T02:27:07Z")

</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._

The database name in your post, `if0_43254055_blognuevo`, matches the one on your account exactly. So if WordPress still can’t select it, the name in the error and the name in `wp-config.php` may not be the same.

Could you paste the full error text from the page, starting at “Cannot select database”? It names the database WordPress tried to select and the MySQL user it connected as. Comparing those two with the database in phpMyAdmin should show where they differ. Please also paste the `DB_NAME` and `DB_USER` lines from the `wp-config.php` of the new site, leaving out the password.

I couldn’t find an answer for this in the knowledge base or in earlier topics. The similar “Cannot select database” topics I found have no answer, so I’m not linking them.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 24, 2026, 1:41pm UTC](https://forum.infinityfree.com/t/wordpress-cannot-select-new-mysql-database/121552/3 "2026-10-24T13:41:02Z")

</div>

Your site seems to be working fine from here:

 ![image](https://forum-cdn.infinityfree.net/original/3X/3/6/364f2e7ddbc26e299b15c76bf22e10f719bde9ac.jpeg)

Your wp-admin also seems to be functioning normally.

I don’t know why you would have seen that error before, I don’t see anything unusual about your site.

---

<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:** [October 31, 2026, 1:41pm UTC](https://forum.infinityfree.com/t/wordpress-cannot-select-new-mysql-database/121552/4 "2026-10-31T13:41:13Z")

</div>

Closed on October 31, 2026, 1:41pm UTC

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