From The Mana World
(import more pages from evol wiki: installmariadb)
 
m (Reverted edits by Wushin (talk) to last revision by Tomminator)
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 19:03, 20 September 2016

How to install and configure mariadb/mysql server

1. Install maria db
1.1. Ububtu and debian

Run this command: sudo apt-get install mariadb-server mariadb-client

1.2. Other operating systems

on other os possible install mariadb or mysql.

//While install package manager will ask db root password. Remember it, because it will be used on other steps.//

2. Configuring mariadb server

1. Open command line in evol-all directory.

2. run cd tools/localserver

and you will see

evol-all$ cd tools/localserver evol-all/tools/localserver$

3. run ./initdb.sh

and you will see

evol-all/tools/localserver$ ./initdb.sh Creating db and user... Enter mysql root password: Enter password: Creating tables...

4. enter your mariadb/mysql **root** password and press enter

and you will see

evol-all/tools/localserver$ ./initdb.sh Creating db and user... Enter mysql root password: Enter password: Creating tables... evol-all/tools/localserver$

Now mysql ready for usage