Website URL
https://blog.paolasolarinsights.com
Error Message
WordPress displays the error “Cannot select database” when I visit 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.
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, 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.
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.
