Chapter 81. MySQL Database Use
Prev |  | Next

# Chapter 81. MySQL Database Use

Artur Hefczyc <artur.hefczyc@tigase.net> v2.0, June 2014: Reformatted for AsciiDoc. :toc: :numbered: :website: http://tigase.net :Date: 2010-04-06 21:16

This guide describes how to configure Tigase server to use MySQL database as user repository.

If you used XML based user repository before you can copy all user data to MySQL database using repository management tool. All steps are described below.

## MySQL Database Preparation

To load db schema to your MySQL instance first create database:

    mysqladmin -p create tigase

And then you can load database schema:

    mysql -u dbuser -p tigase < mysql-schema.sql

Prev |  | Next
Chapter 80. Installation | Home | Server Configuration