linux上装mysql过程中有错误
linux 在安装mysql-5.1.41-linux-ia64-glibc23.tar.gz过程中; 去到以下步骤: cd /usr chown -R mysql ./mysql/ chgrp -R mysql ./mysql/ cd mysql 其中scripts/mysql_install_db --user=mysql这个步骤不通过,出现以下错误: [root@vatti mysql]# scripts/mysql_install_db --user=mysql scripts/mysql_install_db: line 244: ./bin/my_print_defaults: cannot execute binary file Neither host 'vatti' nor 'localhost' could be looked up with ./bin/resolveip Please 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 寻求正确的解决方法.
无法解析本机的hostname 怀疑你的/etc/hosts这个文件有问题 你输入hostname命令看显示什么? 使用hostname 主机名 来设置主机名 或者在/etc/sysconfig/network中追加一句HOSTNAME=主机名 up 我是直接RPM的 帮顶下 weidong0210引用 linux 在安装mysql-5.1.41-linux-ia64-glibc23.tar.gz过程中; 去到以下步骤: cd /usr chown -R mysql ./mysql/ chgrp -R mysql ./mysql/ cd mysql 其中scripts/mysql_install_db --user=mysql这个步骤不通过,出现以下错误: [root@vatti mysql]# scripts/mysql_install_db --user=mysql scripts/mysql_install_db: line 244: ./bin/my_print_defaults: cannot execute binary file Neither host 'vatti' nor 'l
相关问答:
我对SQL SERVER和ACCESS比较熟,所以数据库的通用基础东西可以说都掌握的差不多了,我现在想要的就是以上两数据库的独特之处的介绍和应用介绍。 另外书最好对应最新版本 oracle是11g吧 10的也行;mysql是5.1吧 谢 ......
String SQL="insert into 学生信息表 values(StudentNumber,StudentName,StudentAge)";其中StudentNumber,StudentName,StudentAge都是变量。这样写不对……到底该咋写啊 万分感谢! String SQL=&q ......
现在需要在一个嵌入式系统中实现时间函数,编译器未提供time库函数,请问大家如何用c语言实现时间函数啊? 年月日时分秒 到 整数秒(从1970年开始) 之间的相关转换啊 类似mktime 和localtime的功能,谢谢 mktime ......
我的项目所在的环境是php+apache+linux 现我重启服务是 service httpd restart 现我想定时重启此项服务(定在每天下午4点) 怎么实现呀,多谢 crontab * 16 * * * service httpd restart 学习 + d ......