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
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.
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(!
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With