6410 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data_test
6521 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data_test --user=mysql --log-error=/usr/local/mysql/data_test/localhost.localdomain.err --pid-file=/usr/local/mysql/data_test/localhost.localdomain.pid --socket=/var/lib/mysql/mysql.sock --port=3306
可以更改datadir等
或者在my.cnf里的[mysqld]下增加
datadir=/usr/local/mysql/data_test