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
- You must be logged in to reply to this topic.