Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install wordpress with postgresql

Tags:

I m newbie in wordpress. i just install wordpress 4.2.2. I want to install wordpress on heroku with postgresql. Before that i try to install wordpress with postgresql on my localhost. I follow the PG4WP installation steps but still my wordpress install with mysql database its not giving me option to install with postgresql.

I am using Wordpress 4.2.2 version and for database i am using postgresql 9.1

like image 626
Dexter Avatar asked May 20 '15 10:05

Dexter


People also ask

Is there a GUI for PostgreSQL?

pgAdmin is the only PostgreSQL native GUI — plus, it's totally free and scales easily across multiple servers. pgAdmin makes for a great choice for Postgres-focused DBAs.

How do I connect to PostgreSQL and PHP?

Connecting to Database php $host = "host = 127.0. 0.1"; $port = "port = 5432"; $dbname = "dbname = testdb"; $credentials = "user = postgres password=pass123"; $db = pg_connect( "$host $port $dbname $credentials" ); if(!


1 Answers

It might be a little late, but the current answers are and were wrong. It is possible to use PostgreSQL, even though it is not officially supported and it is not recommend for various reasons: The official documentation says, that it would be expensive to realize since every new wordpress version would have to be tested against the other database back-ends and since many plugins also rely on mysql-specific calls it will probably never be possible to make 'everything' multi database compatible. Source: https://codex.wordpress.org/Using_Alternative_Databases

If you still want to use wordpress with PostgreSQL the better place to start would be the official PostgreSQL documentation. It says, that one needs a wordpress plugin called 'PG4WP' to make it work. Source: https://wiki.postgresql.org/wiki/Wordpress

like image 83
entwicklerseite Avatar answered Sep 18 '22 14:09

entwicklerseite