...
Code Block | ||
---|---|---|
| ||
<Context path="/fcrepo"> <Resource name="jdbc/fcrepo" auth="Container" type="javax.sql.DataSource" username="***********" password="*************" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/fcrepo?createDatabaseIfNotExist=true" factory="org.apache.commons.dbcp.BasicDataSourceFactory" /> </Context> |
...
Databases tested with the experimental Modeshape 5.0 branch:
- MySQL 5.5.49
- PostgreSQL 9.4 - 9.5
Database Setup
MySQL
To create a new database and user in MySQL, assuming a username of user1
and a password of xyz
:
...