121104 15:38:41 mysqld_safe mysqld from pid file /usr/local/mysql/pid/mysql.pid ended
121104 15:38:59 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
121104 15:38:59 [Warning] '--log' is deprecated and will be removed in a future release. Please use ''--general_log'/'--general_log_file'' instead.
121104 15:38:59 [Warning] Ignoring user change to 'wang' because the user was set to 'mysql' earlier on the command line
121104 15:38:59 [Note] Plugin 'FEDERATED' is disabled.
121104 15:38:59 InnoDB: Initializing buffer pool, size = 8.0M
121104 15:38:59 InnoDB: Completed initialization of buffer pool
121104 15:38:59 InnoDB: Started; log sequence number 0 38004995
121104 15:38:59 [Note] Event Scheduler: Loaded 0 events
121104 15:38:59 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.1.60-log' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)
嗯 謝謝親 。剛又試了下,mysql服務器是啟來了,但程序的Pid還是mysql用戶的,還是我在命令行選項上--user=wang用戶。請問這是怎么回事啊
[Warning] Ignoring user change to 'wang' because the user was set to 'mysql' earlier on the command line作者: cenalulu 時間: 2012-11-14 18:12
my.cnf 的原理其實和 --user=wang 的性質(zhì)一樣。
都是在mysqld 上面加 --user , 而my.cnf 的位置先于 --user-wang 所以前者生效作者: bobower 時間: 2012-11-14 18:57