Configuring WordPress with PostgreSQL
-
Hello everyone!
I have installed WordPress 6.4.1 with LAMP on CentOS 9 and everything works correctly, however, what I need is for WordPress to use PostgreSQL as Database Management System. I have tried the wppg plugin and pg4wp, but they did not give me any results. When I type “localhost” in my browser, I get the error “Error establishing a connection to the database” and when I go to localhost/wp-admin I also get “This means that the username and password information in your wp-config.php file is incorrect or that the database server on localhost could not be contacted. This could mean that the database server on your host is down.”
No matter how much I look for configurations, restart apache, php or postgres, it does not recognize the database even if the data in the wp-config.php file is correct.I do not know if you can help me with this, please.
It is not superfluous to add that in my system I have the following:
centos-logos-httpd.noarch 90.4-1.el9 @appstream
httpd.x86_64 2.4.57-5.el9 @appstream
httpd-core.x86_64 2.4.57-5.el9 @appstream
httpd-filesystem.noarch 2.4.57-5.el9 @appstream
httpd-tools.x86_64 2.4.57-5.el9 @appstreammysql-selinux.noarch 1.0.5-1.el9 @appstream
php-mysqlnd.x86_64 8.0.30-1.el9 @appstreammariadb.x86_64 3:10.5.16-2.el9 @appstream
mariadb-backup.x86_64 3:10.5.16-2.el9 @appstream
mariadb-common.x86_64 3:10.5.16-2.el9 @appstream
mariadb-connector-c.x86_64 3.2.6-1.el9 @appstream
mariadb-connector-c-config.noarch 3.2.6-1.el9 @appstream
mariadb-errmsg.x86_64 3:10.5.16-2.el9 @appstream
mariadb-gssapi-server.x86_64 3:10.5.16-2.el9 @appstream
mariadb-server.x86_64 3:10.5.16-2.el9 @appstream
mariadb-server-utils.x86_64 3:10.5.16-2.el9 @appstreamphp.x86_64 8.0.30-1.el9 @appstream
php-cli.x86_64 8.0.30-1.el9 @appstream
php-common.x86_64 8.0.30-1.el9 @appstream
php-fpm.x86_64 8.0.30-1.el9 @appstream
php-gd.x86_64 8.0.30-1.el9 @appstream
php-mbstring.x86_64 8.0.30-1.el9 @appstream
php-mysqlnd.x86_64 8.0.30-1.el9 @appstream
php-opcache.x86_64 8.0.30-1.el9 @appstream
php-pdo.x86_64 8.0.30-1.el9 @appstream
php-pgsql.x86_64 8.0.30-1.el9 @appstream
php-xml.x86_64 8.0.30-1.el9 @appstreampostgresql.x86_64 13.11-1.el9 @appstream
postgresql-contrib.x86_64 13.11-1.el9 @appstream
postgresql-private-libs.x86_64 13.11-1.el9 @appstream
postgresql-server.x86_64 13.11-1.el9 @appstreamThanks in advance and best regards.
- The topic ‘Configuring WordPress with PostgreSQL’ is closed to new replies.