如何将 mysql 软件包彻底删除干净?
时间:2011-01-05
来源:互联网
OS:kubuntu 10.04 LTS
数据库:mysql-5.1.54 源代码包
说明:我是按照mysql官网上的指导来操作的。只是添加了 -with-charset=utf8
编译时的配置
./configure --prefix=/opt/mysql --with-charset=utf8
cp /mysql源代码目录/support-files/my-medium.cnf.sh /etc/my.cnf ##找过N遍了,没有my-medium.cnf文件。而且sudo ./my-medium.cnf.sh也不行。报错。错误:没有这个命令(文件)
bin/mysql_install_db --user=mysql ##出错。 sudo ./mysql_insall_db --user= mysql 也报同样的错。
Neither host 'workingroom' nor 'localhost' could be looked up with /usr/bin/resolveip. #找不到主机名或者主机。
pleases configure the 'hostname' command to return a correct hostname. #重新配置主机
if you want to solve this at a later stage,restart this script with the --force option # 如果你想XXXX,重新配置脚本,使用 --force 选项。
说明:本人E文不好,根据google在线翻译和N年的经验,翻译的错误信息。正确与否,不关心。解决问题才是重要的。
如何搞定 mysql_install_db --user=mysql 时候的错误?
数据库:mysql-5.1.54 源代码包
说明:我是按照mysql官网上的指导来操作的。只是添加了 -with-charset=utf8
编译时的配置
./configure --prefix=/opt/mysql --with-charset=utf8
cp /mysql源代码目录/support-files/my-medium.cnf.sh /etc/my.cnf ##找过N遍了,没有my-medium.cnf文件。而且sudo ./my-medium.cnf.sh也不行。报错。错误:没有这个命令(文件)
bin/mysql_install_db --user=mysql ##出错。 sudo ./mysql_insall_db --user= mysql 也报同样的错。
Neither host 'workingroom' nor 'localhost' could be looked up with /usr/bin/resolveip. #找不到主机名或者主机。
pleases configure the 'hostname' command to return a correct hostname. #重新配置主机
if you want to solve this at a later stage,restart this script with the --force option # 如果你想XXXX,重新配置脚本,使用 --force 选项。
说明:本人E文不好,根据google在线翻译和N年的经验,翻译的错误信息。正确与否,不关心。解决问题才是重要的。
如何搞定 mysql_install_db --user=mysql 时候的错误?
作者: flycatcn 发布时间: 2011-01-05
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28