日期:2014-05-16  浏览次数:20828 次

MySQL的binary distribution一定要有mysql账户吗
运行scripts/mysql_install_db的时候已经加上--user=我的账户名,运行出现:

111228 1:54:43 [Warning] Ignoring user change to 'hduser' because the user was set to 'mysql' earlier on the command line

111228 1:54:43 [ERROR] Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists!

之前装过貌似没这个问题

------解决方案--------------------
你修改过账户或权限?
------解决方案--------------------
去掉--user=这个试试