Comments - installation issue

10 years, 4 months ago Rahul Sharma

hi

i am again getting one more issue as below:-

[root@rahul-system mysql]# scripts/mysql_install_db -basedir='/usr/local/mysql' --force --user=mysql script/mysql_install_db: line 260: /usr/local/mysql/bin/my_print_defaults: cannot execute binary file Installing MariaDB/MySQL system tables in './data' ... scripts/mysql_insttall_db: line 418: /usr/local/mysql/bin/mysqld: cannot execute binary file

Installation of system tables failed! Examine the logs in ./data for more information.

The problem could be conflicting information in an external my.cnf files. you can ignore these by doing:

shell> /usr/local/mysql/scripts/scripts/mysql_install_db --defaults-file=/.my.cnf

You can also try to start the mysqld daemon with:

shell> /usr/local/mysql/bin/mysqld --skip-grant --general-log &

and use the command line tool $bindir/mysql" to connect to the mysql database and look at the grant tables:

shell> /usr/local/mysql/bin/mysql -uroot mysql mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --general-log gives you a log in $ldata that may be helpful. link_to_help MariaDB is hosted on launchpad; You can find the latest source and" email lists at http://launchpad.net/maria"

Please check all of the above before submitting a bug report" at http://mariadb.org/jira"

 
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.