Comments - Installing MariaDB Binary Tarballs

8 years, 4 months ago trupti mali

Hi, I have been trying to install mariadb 10.1.8 from Binary referring this document. But there are no clear cut steps to be followed as I am stumbling upon every step while calling the script mysql_install_db. I am installing this on a clean slate. Am I supposed have / copy any preexisting files to certain directories?

I am getting below error -

root@localhost:/usr/local/mysql# ./scripts/mysql_install_db  --basedir=/usr/local/mysql 
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
2015-12-08  8:56:59 140556698441600 [Note] /usr/local/mysql/bin/mysqld (mysqld 10.1.8-MariaDB-log) starting as process 26886 ...
2015-12-08  8:56:59 140556698441600 [ERROR] mysqld: File '/var/log/mysql/mariadb-bin.index' not found (Errcode: 2 "No such file or directory")
2015-12-08  8:56:59 140556698441600 [ERROR] Aborting
 
7 years, 6 months ago Ivan Zoratti

You are probably using a configuration file in /etc. Make sure you have your own configuration file, usually in the mariadb server base directory. For example, if the base directory is /usr/local/mysql, you should execute: ./scripts/mysql_install_db --basedir=/usr/local/mysql --defaults-file=/usr/local/mysql/my.cnf

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.