my_print_defaults: not found when making 1st sandbox (ubuntu)

Asked by erin oneill on 2009-07-14

Installed MySQL sandbox (using the README docs), also installed perl-doc. On ubuntu (lenny):
Linux myserver 2.6.24-19-server #1 SMP Wed Jun 18 14:44:47 UTC 2008 x86_64 GNU/Linux

command I ran:
  make_sandbox /home/me/mysql-5.1.36-linux-i686-glibc23.tar.gz

unpacking /home/dba/mysql-5.1.36-linux-i686-glibc23.tar.gz
Executing low_level_make_sandbox --basedir=/home/dba/5.1.36 \
 --sandbox_directory=msb_5_1_36 \
 --install_version=5.1 \
 --sandbox_port=5136 \
 --no_ver_after_name \
    The MySQL Sandbox, version 3.0.04
    (C) 2006,2007,2008,2009 Giuseppe Maxia

I answer Y to the parameters (they look ok)

Then I get:
/home/me/5.1.36/scripts/mysql_install_db: 244:
/home/me/5.1.36/bin/my_print_defaults: not found
error while creating grant tables
Neither host 'eval-db1-vm1' nor 'localhost' could be looked up with
Please configure the 'hostname' command to return a correct
If you want to solve this at a later stage, restart this script
with the --force option

If I go into the 5.1.36 dir I see the files in the bin dir. :
ls -l bin/my_print_defaults
-rwxr-xr-x 1 me 1035 1839908 2009-06-16 09:52 bin/my_print_defaults

./bin/my_print_defaults --help
-bash: ./bin/my_print_defaults: No such file or directory

So somehow I must have the wrong download for my system? I've only been installing 5.0.51a with Ubuntus package ... and I need to keep the default in place ...

thoughts? suggestions?


Question information

English Edit question
MySQL Sandbox Edit question
No assignee Edit question
Last query:
Last reply:

It seems that you are using a tarball for the wrong architecture.
Your server is a x64_64 and you are using a i686 tarball.
Instead of the mysql-5.1.36-linux-i686-glibc23.tar.gz tarball that you are using now, you should download


Can you help with this problem?

Provide an answer of your own, or ask erin oneill for more information if necessary.

To post a message you must log in.