Hello,

I hacked the mysqld_safe script until I finally got mysqld to run with the 
correct parameter, but when I create a new database it still doesn't appear in 
the new data directory:

# ps -fu mysql
     UID   PID  PPID   C    STIME TTY         TIME CMD
   mysql  2023     1   0 18:56:10 ?           0:00 /bin/sh 
/usr/mysql/5.1/bin/mysqld_safe --user=mysql --datadir=/var/mysql/5.1/da
   mysql  2158  2023   0 18:56:11 ?           0:00 /usr/mysql/5.1/bin/mysqld 
--basedir=/usr/mysql/5.1 --datadir=/tank/server/mysql

Something causes mysqld_safe to run with the datadir argument set to the 
default location. I deleted that part of the argument code, so now the variable 
I set is shown for the mysqld command. Somehow, new file databases are still 
being created in the original location.

Does anyone know what is going on?

Thanks.
-- 
This message posted from opensolaris.org
_______________________________________________
databases-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/databases-discuss

Reply via email to