Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (33 sloc) 1.19 KB
title description date publishdate lastmod menu weight sections_weight draft toc categories
Databases
Database setup
2018-08-23
2018-08-23
2018-08-23
docs
parent weight
config
30
30
30
false
true
configuration

H2 database

By default Streama uses an embedded database. This is created in the same folder that you start streama from and are the files streama.mv.db and streama.trace.db.

MySQL

To use MySQL as your data backend you need to install a MySQL compatible database server. Streama recommends and tests against mariaDB. Once your database is installed you need to create the database (ie with: CREATE DATABASE). Then configure your application.yml to use mysql:

environments:
    production:
        dataSource:
            driverClassName:  'com.mysql.jdbc.Driver'
            url: jdbc:mysql://MYSQL_SERVER_IP/MYSQL_DATABASE
            username: MYSQL_USER
            password: MYSQL_PASSWORD

PostgresSQL or Others

Currently PostgresSQL is not supported (see issue #409) but is planned.

Support for any other database is not planned or tested.