报错现象
mysql@localhost:~$ /home/mysql/mysql-multi/bin/mysqld_multi start 1
WARNING: my_print_defaults command not found.
Please make sure you have this command available and
in your path. The command is available from the latest
MySQL distribution.
WARNING: Log file disabled. Maybe directory or file isn't writable?
ABORT: Can't find command 'my_print_defaults'.
This command is available from the latest MySQL
distribution. Please make sure you have the command
in your PATH.
mysql@localhost:~$
解决方法
mysql@localhost:~/mysql-multi/bin$ su - root
root@localhost:~$ cp /home/mysql/mysql-multi/bin/my_print_defaults /usr/bin/
root@localhost:~$ cp /home/mysql/mysql-multi/bin/mysqld_multi /usr/bin/