I have created a new MySQL cluster by this: mysqld --initialize-insecure --basedir=/var/lib --datadir=/var/lib/mysql2 --defaults-file=/etc/my2.cnf chown -R mysql:mysql /var/