From The Mana World
(import more pages from evol wiki: installmariadb)
 
Line 44: Line 44:
Creating db and user...
Creating db and user...
Enter mysql root password:
Enter mysql root password:
Enter password:
Creating tables...
Creating tables...
evol-all/tools/localserver$  
evol-all/tools/localserver$  

Revision as of 18:36, 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: Creating tables... evol-all/tools/localserver$

Now mysql ready for usage