Take the 2-minute tour ×  I already have an instance of MySQL
running a production system. I want to use the same machine to
do other MySQL stuff without touching the other instance. I
copied my.cnf and rerouted everything (port,datadir,etc).
Running mysqld_safe using the new config stopped right away. I
looked at the logs. Everything looked good until this line:
So, I run mysql_install_db --datadir=my/new/db and get this:
Installing MySQL system tables... 091120 19:01:24 [ERROR]
/usr/libexec/mysqld: unknown option '-e'  Installation of system
tables failed!  Examine the logs in opt/mysqld/data/ for more
information. You can try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant & and use the command line tool
/usr/bin/mysql to connect to the mysql database and look at the
grant tables:  shell> /usr/bin/mysql -u root mysql mysql> show
tables  gives you a log in opt/mysqld/data/ that may be helpful.
The latest information about MySQL is available on the web at
and the manual section that des