Error establishing a database connection
-
I am installing WordPress for the first time on an AIX system.
I have tried to configure the wp-config.php manually and via the wp-admin/setup-config.php web interface.
I get “Error establishing a database connection” during the configuration or access of the web page.
-
My Database is up
# mysqladmin status
Uptime: 257864 Threads: 6 Questions: 93 Slow queries: 0 Opens: 27 Flush tables: 1 Open tables: 10 Queries per second avg: 0.000-
I can connect to it with the specified user from the command line
$ mysql -h localhost -u dhssql -pThePassWord wordpress Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 38 Server version: 10.4.25-MariaDB Source distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. readline: warning: turning on OPOST for terminal readline: warning: turning on OPOST for terminal MariaDB [wordpress]>
-
I did add the “define(‘WP_ALLOW_REPAIR’,true);” to the bottom of the wp-config.php file
AIX v7.1
Wordpress V6.0.2
PHP 7.4.30-1
MariaDB 10.4.26-1
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Error establishing a database connection’ is closed to new replies.