Comments - MariaDB Binary Packages

12 years, 4 months ago Haidong Ji

During binary package install, if you get a message like this:

 [root@mariatest mysql]# ./scripts/mysql_install_db --user=mysql
 ./scripts/mysql_install_db: ./bin/my_print_defaults: /lib/ bad ELF interpreter: No such file or directory
 Neither host 'mariatest' nor 'localhost' could be looked up with ./bin/resolveip
 Please configure the 'hostname' command to return a correct hostname.
 If you want to solve this at a later stage, restart this script with the --force option

then it is possible that you have downloaded 32-bit binaries for a 64-bit system.

To find if you are on a 32-bit or 64-bit system, issue:

uname -m

If you get i386 or i686 then it is 32 bit. If you get x86_64 then your system is 64bit.

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.