This very short how-to shows you how you can setup a TYPO3 Installation that runs with DBAL on a postgreSQL database.
It's highly recommend, that you use this to start from cratch. This is NO tutorial how to migrate any existing site to another database!
Step 1
Install TYPO3 as usual with a normal mysql database
Step 2
Log into the system and install the extensions "adodb" and "dbal". These extension are delivered with the TYPO3 source package.
Step 3
Log into your postgreSQL database and create a new database. In this case the database is called "typo3_db". You should also create user that has access to the new database.
You can try to create the database from within the install tool. But I don't know if that works. I didn't tried it.
Step 4
After you have created the database. Go to the console and edit the localconf.php in your typo3conf folder.
Here you have to configure which driver should be used for the default database. Your code could look like this:
For a detailed description of the properties, read the DBAl manual.
Step 5
No start the installer and go to the "Database analyser" and click on "Compare". After executing the operations, you can also import some static data if you need that. If not you are done, and your TYPO3 installation should run on postgreSQL.
If you found a mistake or if you have a good tip or suggestion, please contact me at thomas(at)typo3-unleashed.net. I will check it and correct the entry or insert the new one.
Thanks in advance for your help.