Skip to content

Instantly share code, notes, and snippets.

@fire
Last active August 29, 2015 14:05
Show Gist options
  • Save fire/b2446383384e87eb39f5 to your computer and use it in GitHub Desktop.
Save fire/b2446383384e87eb39f5 to your computer and use it in GitHub Desktop.
  1. As root/admin, move the actual db.conf to db.conf.sqlite

  2. Make sure that your plastic database user has create database permissions.

  3. Create a new db.conf file with this content:

    <DbConfig>
    <ProviderName>postgresql</ProviderName>
    <ConnectionString>Server=localhost;Port=5432;Database={0};User Id=plastic;Password=YourPassWord;Pooling=false;</ConnectionString>
    <DatabasePath></DatabasePath>
    <DatabaseSuffix>_plasticdb</DatabaseSuffix>
    </DbConfig>
    
  4. Change the user Id and Password fields.

  5. Restart the Plastic SCM server and review that the PostgresSQL database is created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment