← Back to team overview

maria-discuss team mailing list archive

New Question: mysql_install_db

 

Hello,

A new question has been asked in "MariaDB Community" by skuns_35717. Please answer it at http://mariadb.com/kb/en/mariadb-community-mysql_install_db/ as the person asking the question may not be subscribed to the mailing list.

--------------------------------
I'm new to maria, coming from mysql, and I'm trying to run the mysql_install_db program to create the new databases.   This is what i'm executing as root:
/usr/bin/mysql_install_db --user=mysql --datadir=/var/lib/mysql --basedir=/usr --force  
I've tried it with and without the force option.  I always get the same error:
ERROR: 1005  Can't create table `mysql`.`innodb_table_stats` (errno: 165 "Table is read only")
160114 11:35:10 [ERROR] Aborting

Any help will be greatly appreciated.


--------------------------------

To view or answer this question please visit: http://mariadb.com/kb/en/mariadb-community-mysql_install_db/