Mysql/Maria problem

1 post / 0 new
#1 Sat, 2015-09-26 17:35
Aimlynx
  • Aimlynx's picture
  • Offline
  • Last seen: 2 years 6 months ago
  • Joined: 2015-09-26

Hello world!
I have a big problem with mysql/maria installation

First, i install package, all OK :
# apk add mysql mysql-client

Next, i type this command :
# /usr/bin/mysql_install_db --user=mysql
and i have this error :
150926 15:29:22 [ERROR] mysqld: File './mysql-bin.index' not found (Errcode: 13)
150926 15:29:22 [ERROR] Aborting

And then, i start maria :
# service mariadb start
but :
* Caching service dependencies ... [ ok ]
* Starting mysqld ...
* start-stop-daemon: caught an interrupt
* start-stop-daemon: /usr/bin/mysqld_safe died [ ! ! ]
* ERROR: mariadb failed to start

Please, help me.