HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


postgresql (OSX)

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#91614 (In Topic #18415)
Avatar

Fan in training

Is postgresql supported?

I want to install ocPortal on OSX server (10.8).
Within OSX, the default database is postgres. I now have installed mySQL, but I do not like it at all. It's rubish.
Is it possible to install ocPortal with postgres as the database? Or another alternative to mySql?
I have searched the site, expected to find it, but did not find any hits on this.
Back to the top
 
Posted
Rating:
#91615
Avatar

A postgresql database driver is bundled with ocPortal, but it's not supported. That means we'll probably fix bugs if any are found, but ocPortal isn't optimised for it and those bug fixes may take some time.

It will show up in the installer if you have the PHP postgresql extension installed.

It's true that postgresql is better in general, but for web systems, there's no appreciable difference and mysql is considered the standard – so using another one will probably just give you unnecessary headaches. I suspect your only interaction with mysql so far is the installer and whatever UI you have for it, but once you have set up a database you hardly ever need to touch these again.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#91617

Non-joined user

I do understand the choice for MySQL.
I do have other systems running Linux, there MySQL is easy to deploy and it has never bugged me before.
For my own company I am now setting up the OSX server. It has a lot to offer me with its built in features and most of it is (again) an example of how mindblowing simple (heuristic) even server software can be.
MySQL however is not part of the MAMP delivered by the server app (postgresql is) and I do understand why Apple has made the move. While OSX is offering version 10.8, MySQL has stranded at 10.6. There is an installer wich is using officially abandonded startup procedures.

What about MySQL forks like MariaDB or Percona? I do not know what the support for OSX is like for these DB's….
Back to the top
 
Posted
Rating:
#91618
Avatar

I develop on a Mac and have never really had problems with MySQL. I can't remember how I installed it, probably just downloading the official MySQL (Oracle) installer. MariaDB etc are supposed to be compatible but I can't claim to have ever tried them.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: