>>>> 2012/01/16 19:37 +0800, mantianyu >>>>
but at last step I start the service by run
sudo bin/mysqld_safe --user=mysql
I got following error message
cifer@Pig:/usr/local/mysql$ 120116 19:15:28 mysqld_safe Logging to
'/var/log/mysql/error.log'.
....
<<<<<<<<
Your means of starting does not show where the MySQL own files are. The flag "-b"
("--basedir") is used for that. It works also to start "mysqld" in the directory where
the default "my.cnf" was left. If that has everything that MySQL needs, it works also to
start with "--defaults-file=..../my.cnf"--the four dots stand for the rest of the full
pathname.