I've tried editing my.cnf and I've tried using the command line option. I always get "mysqld ended" and mysql never comes up.

What's the trick to use a different datadir?

Thanks.