Database requirements and setup
Before using colims for the first time, some one-time installation steps have to be executed. The following paragraphs will guide you through this procedure.
As a single-user setup, colims can run on any modern laptop or desktop PC. Furthermore, since it is written in Java, it can run on any platform that supports a Java Virtual Machine version 1.7.0 or above (Windows, Linux, and Mac OS-X). However, if colims is to be used as a shared system between many different users, it will be more practical to set up a central database on a dedicated server that multiple users can access simultaneously. This task can easily be handled by any modern desktop machine with sufficient storage space.
Colims uses a relational database as data repository. The system is able to run on both MySQL 5.x and MariaDB - two freely downloadable and commonly used data management solutions. After installation, please increase the maximum allowed package size in the .ini file (e.g.
max_allowed_packet=256M or higher). PostgreSQL is supported as well, although we haven’t tested it extensively.
Once the database server is installed, the schema with the colims tables, fields and relationships can be created.
- connect to the database server (with the database command line tool or a database client like MySQL Workbench or SQuirreL SQL)
- create a new schema in the connected server and set it as the default schema
- MySQL or MariaDB: run the MySQL setup script. PostgreSQL: run the setup script. The script creates the necessary tables, indexes, keys and inserts some default records into the database.
In principle, colims is designed to be able to run on other SQL databases as well, but some SQL syntax and code adjustments may be necessary. Let us know and we’ll try to help you as much as possible.