Website URL
http://doai.ct.ws
http://doai.id.vn
Error Message
After configuring wp-config.php
with credentials from my Client Area, I consistently get this error (or the WordPress “Cannot select database” page):
Warning: mysqli_real_connect(): (HY000/1045): Access denied for user ‘if0_37984521’@‘192.168.0.%’ to database ‘if0_37984521_doai’ (This error occurred in /home/vol9_5/infinityfree.com/if0_37984521/htdocs/wp-includes/class-wpdb.php on line 1988)
Access denied for user ‘if0_37984521’@‘192.168.0.%’ (using password: YES)
Cannot select database The database server could be connected to (which means your username and password is okay) but the if0_37984521_doai database could not be selected.
(This is the most recent error I’m seeing, based on screenshot
.
Other Information
(other information and details relevant to your question)
- My InfinityFree Account Username:
if0_37984521
(as shown in Client Area “MySQL Connection Details”). - Database in Question: My original WordPress data is in database
if0_37984521_doai
on hostsql101.byetcluster.com
. I can see this database and its tables/data in phpMyAdmin. wp-config.php
Settings Used:DB_NAME: 'if0_37984521_doai'
DB_USER: 'if0_37984521'
DB_PASSWORD: [Correct Password from Client Area "MySQL Connection Details"]
DB_HOST: 'sql101.infinityfree.com'
(from Client Area) - I have also triedsql101.byetcluster.com
(from phpMyAdmin) with the same “Cannot select database” result.
- Critical Issue: My Client Area (“MySQL Databases” page) and VistaPanel (“MySQL Databases” page) BOTH show “No databases found on this account”. This means I cannot see or manage my existing database
if0_37984521_doai
through the control panels, nor can I verify or assign user privileges to it. - Assistance Sought: I am a newbie and have been trying to troubleshoot this for a long time, including using AI assistance to understand the errors and suggest solutions. The current error “Cannot select database” (even though user/password for the MySQL server seem okay) strongly suggests an issue with user
if0_37984521
not having the necessary permissions for the databaseif0_37984521_doai
.
Request:
Since my control panels show “No databases found” and I cannot manage user privileges for my existing database if0_37984521_doai
:
- Could you please investigate why my database
if0_37984521_doai
(on hostsql101.byetcluster.com
, containing my data) is not listed in my account’s “MySQL Databases” management pages? - Can you please ensure that my MySQL user
if0_37984521
(associated with my account) is correctly assigned with ALL PRIVILEGES to my databaseif0_37984521_doai
? - Please clarify the definitive
DB_HOST
to use with userif0_37984521
for databaseif0_37984521_doai
.
I believe this is a system-level issue with database visibility and permissions that is preventing my WordPress site from connecting.
Thank you for your detailed assistance.