Installing Joomla 3 With PostGreSQL Database - Joomla! Forum - Community, Help and Support

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

 Joomla!

® Download & Extend Discover & Learn Community & Support Developer Resources

Home Register Forum rules FAQ Login


The Joomla! Forum™ Download Launch

 Register  Login

 Board index ‹ Joomla! 3.x - Ask Support Questions Here ‹ Installation Joomla! 3.x

Installing Joomla 3 with PostGreSQL Database?


Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10

Locked   
16 posts • Page 1 of 1

Installing Joomla 3 with PostGreSQL Database? SonarEclipse


Joomla! Intern
 by SonarEclipse » Sat Oct 06, 2012 8:43 pm

I'm stuck. I've looked all over the net, on every existing post, for existing information on how to install Joomla, using a Posts: 51
Joined: Thu Jul 07, 2011 9:00 pm
PostGreSQL database. The furthest I got was that I need to select the dropdown Image
But as you can see, PostGres is not showing up...

Can someone explain to me the exact steps I need to follow in order to configure my Joomla installation with PostGres?

I am running AMPPS with the following PHP configuration for the pdo extension:

PDO

PDO support enabled


PDO drivers mysql, pgsql, sqlite

pdo_mysql

PDO Driver for MySQL enabled


Client API version mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $

pdo_pgsql

PDO Driver for PostgreSQL enabled


PostgreSQL(libpq) Version 8.3.3
Module version 1.0.2
Revision $Id$

PostGres is also installed as a service on my Windows machine, and it is running.

Thanks in advance.

Re: Installing Joomla 3 with PostGreSQL Database? techgs


Joomla! Apprentice
 by techgs » Sun Oct 07, 2012 8:39 am

You will need to install php extention for postgresql. Posts: 18


Joined: Sun Sep 30, 2012 2:55 am

php5-pgsql

and restart apache


Re: Installing Joomla 3 with PostGreSQL Database? SonarEclipse


Joomla! Intern
 by SonarEclipse » Mon Oct 08, 2012 12:10 am

 techgs wrote: Posts: 51


Joined: Thu Jul 07, 2011 9:00 pm
You will need to install php extention for postgresql.

php5-pgsql

and restart apache

On Windows, running a server stack such as AMPPS or WAMP, how do I do this?

Thanks.

Re: Installing Joomla 3 with PostGreSQL Database?


 by humvee » Mon Oct 08, 2012 9:29 am

http://www.enterprisedb.com/learning/tu ... windows.do


humvee
Joomla! Master
and all the other http://wiki.postgresql.org/wiki/Postgre ... or_Windows

Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Installing Joomla 3 with PostGreSQL Database? SonarEclipse


Joomla! Intern
 by SonarEclipse » Tue Oct 09, 2012 3:11 am

 humvee wrote: Posts: 51


Joined: Thu Jul 07, 2011 9:00 pm
http://www.enterprisedb.com/learning/tu ... windows.do

and all the other http://wiki.postgresql.org/wiki/Postgre ... or_Windows

I've read through both of these tutorials now, but this doesn't apply to my situation. No where do they mention the postgres
extension, and the stack environment I'm running is AMPPS and not theirs.

Am I missing something? Sorry for being so noob...


Re: Installing Joomla 3 with PostGreSQL Database? jigarakatidus


Joomla! Fledgling
 by jigarakatidus » Tue Oct 09, 2012 5:06 am

Hi, Posts: 1
Joined: Tue Oct 09, 2012 4:55 am
Go to AMPPS Application -> PHP Tab -> Extensions -> Check "php_pgsql". Click on Apply. Restart Apache.

Re: Installing Joomla 3 with PostGreSQL Database? SonarEclipse


Joomla! Intern
 by SonarEclipse » Tue Oct 09, 2012 5:11 am

 jigarakatidus wrote: Posts: 51


Joined: Thu Jul 07, 2011 9:00 pm
Hi,

Go to AMPPS Application -> PHP Tab -> Extensions -> Check "php_pgsql". Click on Apply. Restart Apache.

Yup. I'm a huge idiot for not seeing this. PostGres now shows up as an option. Thanks!

Re: Installing Joomla 3 with PostGreSQL Database? SonarEclipse


Joomla! Intern
 by SonarEclipse » Tue Oct 09, 2012 5:53 am

Ok, so I'm having issues now connecting with the database I created. Posts: 51
Joined: Thu Jul 07, 2011 9:00 pm
Here are the steps I went through:

1) Create a database with name joomlapg in pgAdmin


2) Set the owner to postgres
3) in Joomla, set host to localhost:5432 (port to which postgres is serving)
4) set username and password to postgres and its password; set database name to joomlapg
5) click on next

Weird issue happening here: if I try localhost:5432, I get

CODE: SELECT ALL

Could not connect to the database. Connector returned number: Error connecting to PGSQL database.

But with just localhost, I can get to the installation step. But when I confirm everything, and click next for the last time, it
gets to "creating tables", where it just stops and brings me back to the last installation step again.

I would be inclined to think that's because I need to have selected localhost:5432 as my host rather than simply localhost, but
still it's very frustrating that I am having no success either way.

Thanks for any clues/help/ideas as to why this might be.


Re: Installing Joomla 3 with PostGreSQL Database?


 by humvee » Tue Oct 09, 2012 10:26 am

Why are you trying to use/learn PostGreSQL with Joomla 3.0 it does rather strike me that you might be attempting more than
is necessary. humvee
Joomla! Master

Furthermore the configuration of your hosting including database is not exactly a Joomla issue.
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Have you tried actually posting on the AMPPS forums with regard the issues you are having? Location: Kent, England

Is there a particular reason you are using such a newly released AMP stack anyway that has so little documentary support and
is so clearly in its infancy? Why not use XAMPP which has a far bigger community and is much more established and common.

Have you actually tried researching any of the issues for yourself rather than just posting here? These forums are for issues
with Joomla installation NOT your server administration problems.

If the port for postgresql is 5432 then yes you do have to add :5432 to localhost.
The error is telling you that the connection is not available. Therefore, typically either the username/password are wrong or
the user does not have the full permissions for that database typically.

http://php.net/manual/en/book.pgsql.php
Google search

Re: Installing Joomla 3 with PostGreSQL Database? SonarEclipse


Joomla! Intern
 by SonarEclipse » Tue Oct 09, 2012 9:18 pm

 humvee wrote: Posts: 51


Joined: Thu Jul 07, 2011 9:00 pm
Why are you trying to use/learn PostGreSQL with Joomla 3.0 it does rather strike me that you might be attempting more than is
necessary.

It's for a school project, where we have to use PostGres.


 humvee wrote:
Furthermore the configuration of your hosting including database is not exactly a Joomla issue.

Have you tried actually posting on the AMPPS forums with regard the issues you are having?

Yes. See http://www.softaculous.com/board/index. ... g=1#p11928.


 humvee wrote:
Is there a particular reason you are using such a newly released AMP stack anyway that has so little documentary support and is
so clearly in its infancy? Why not use XAMPP which has a far bigger community and is much more established and common.

Yes. The reason is that I also run a mac, and AMPPS is cross-platform, allowing me to share the database and configuration
settings. I also find it more full-featured and easier to use.
 humvee wrote:
Have you actually tried researching any of the issues for yourself rather than just posting here? These forums are for issues with
Joomla installation NOT your server administration problems.

The first thing I did was Google the issue (see my first post).

Re: Installing Joomla 3 with PostGreSQL Database? Sunnyface


Joomla! Fledgling
 by Sunnyface » Thu Mar 07, 2013 2:49 pm

 SonarEclipse wrote: Posts: 1


Joined: Sat Mar 02, 2013 4:19 am
Ok, so I'm having issues now connecting with the database I created.
Contact: 

Here are the steps I went through:

1) Create a database with name joomlapg in pgAdmin


2) Set the owner to postgres
3) in Joomla, set host to localhost:5432 (port to which postgres is serving)
4) set username and password to postgres and its password; set database name to joomlapg
5) click on next

Weird issue happening here: if I try localhost:5432, I get

CODE: SELECT ALL

Could not connect to the database. Connector returned number: Error connecting to PGSQL database.

But with just localhost, I can get to the installation step. But when I confirm everything, and click next for the last time, it gets
to "creating tables", where it just stops and brings me back to the last installation step again.

I would be inclined to think that's because I need to have selected localhost:5432 as my host rather than simply localhost, but
still it's very frustrating that I am having no success either way.

Thanks for any clues/help/ideas as to why this might be.

When you install Joomla3 and try to connect to Postgresql, please use "127.0.0.1" instead of "localhost".

You do not have the required permissions to view the files attached to this post.

Re: Installing Joomla 3 with PostGreSQL Database? Herve_OIE


Joomla! Fledgling
 by Herve_OIE » Fri Jan 31, 2014 1:05 pm

Anything new on this topic ? Posts: 4


I would like to install Joomla with PostgreSQL but I can't. Joined: Fri Jan 31, 2014 10:11 am

I also created a new toopic


http://forum.joomla.org/viewtopic.php?f=707&t=834065

Re: Installing Joomla 3 with PostGreSQL Database? Vol1


Joomla! Enthusiast
 by Vol1 » Tue Feb 04, 2014 2:37 pm

Hi Posts: 107
DONT USE POSTGRESQL !!! At least, not yet. It is not quite ready yet and there is a disclaimer in the "installation" folder that Joined: Thu Oct 17, 2013 6:33 pm
i have only just found.

[Edit: It's in the "INSTALL" file (jic you want to check (as i definitely would because i would never trust anyone saying this sort
of thing in a forum like this as they might be a troll or something))

2. CREATE THE Joomla! DATABASE


Joomla! will currently only work with MySQL. ]

I am hoping to create the website using MySql and then rebase it on Postgresql when the few remaining flaws have been
"ironed out". I think Joomla is one of the only web-design or CMS programs that is moving towards offering an alternative to
Oracle's MySql and almost NO hosting service seems to offer anything other than MySql either yet. I got lucky and found one
but it's in England.

Another problem with trying anything different such as Postgresql or MariaDb is that no-one here can answer any questions
about it yet. Again it is something that will change and probably in the fairly near-future but we are not quite there yet.

Of course it sounds like you have built your own web-facing server and are hosting the website yourself but even so i would
recommend using MySql for now.

Regards from
Tom

Re: Installing Joomla 3 with PostGreSQL Database? kentrell


Joomla! Apprentice
 by kentrell » Tue Mar 25, 2014 6:59 pm

Wow!! I had trouble with this myself and thanks to your question i found the answer. Thanks. Posts: 6
Joined: Tue Mar 25, 2014 3:58 pm

Re: Installing Joomla 3 with PostGreSQL Database? sovainfo


Joomla! Exemplar
 by sovainfo » Wed Mar 26, 2014 10:23 am

For correct information see docs.joomla.org/Technical_requirements. You will notice support for MySQL, MSSQL and Posts: 8808
PostgreSQL. Joined: Sat Oct 01, 2011 7:06 pm

Please report any issues, so they can be investigated and reported as a bug when appropriate.
Support for Joomla on MSSQL or PostgreSQL is not as big as for MySQL. That doesn't justify claiming it is not supported.

Issue with migrating? Include logs/joomla_update.php in your report!


Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

Re: Installing Joomla 3 with PostGreSQL Database? vesbe n


Joomla! Fledgling
 by vesbe n » Sun Nov 20, 2016 6:45 pm

Hallo, Posts: 1
Joined: Sun Nov 20, 2016 5:58 pm
My Enviorment: Windows 7(64), XMAPP, PostgersSQL(64).
Installation- Local installation from ZIP Package, .
First you must uncomment
extension=php_pdo_pgsql.dll ,extension=php_pgsql.dll in PHP.INI file.
Restart Apache.
AFTER that PostgresSQL will appear in list of possibles DB in Joomla installation window.
Host- only "localhost", not need port number
The rest is the same like other posts.

Display posts from previous: All posts

Sort by Post time

Ascending

Go

Locked      16 posts • Page 1 of 1

 Return to “Installation Joomla! 3.x” Jump to 

 Board index  Delete cookies All times are UTC

Powered by phpBB® Forum Software © phpBB Limited

      
Home About Community Forum Extensions Services Docs Developer Shop

Accessibility Statement Privacy Policy Cookie Policy Sponsor Joomla! with $5 Help Translate Report an Issue Log in

© 2005 - 2021 Open Source Matters, Inc. All Rights Reserved.

Joomla! Hosting by Rochen

You might also like