`
cocos
  • 浏览: 404206 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论

mysql_install_db 出错

阅读更多
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.

If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.


mysql出现如上错误一般不是它提示的没有make install 或者要--basedir有问题,而是在/etc/my.cnf中有个配置错误导致的.

本实例的处理办法:
bin/mysql_install_db  --basedir=/usr/local/webserver/mysql5.1.57 --datadir=/data/mysql5.1.57/data --user=mysql

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics