您现在的位置:中国下载站学院中心操作系统Linux → 文章列表

Problem in installing MySQL on RHEL AS3 Update3

作者:佚名  来源:不详  发布时间:2007-6-6 15:41:03   

减小字体 增大字体

 
 

When install the RHEL AS3U3 with default setup, the MySQL-server will not be installed. But installing OSCAR4.1 on a RHEL AS3 Update3 computer needs the MySQL-server.version.rpm(put into the /tftpboot/rpm directory,which will be used by slave nodes). The easiest way to got the MySQL-server.version.rpm is to rebuild the MySQL-version.src.rpm package. While do this, there are some issues that you should pay attention to.
When install the RHEL AS3U3 with default setup, the MySQL-server will not be installed. But installing OSCAR4.1 on a RHEL AS3 Update3 computer needs the MySQL-server.version.rpm(put into the /tftpboot/rpm directory,which will be used by slave nodes). The easiest way to got the MySQL-server.version.rpm is to rebuild the MySQL-version.src.rpm package. While do this, there are some issues that you should pay attention to.
1. If you download the MySQL-version.src.rpm package from MySQL.com(Just as I have done anteriorly),then do

root#rpmbuild --rebuild MySQL-3.23.58-1.src.rpm
while,you will get a error message just like" user mysqldev does not exist-using root "
which can be resolved by adding a user named "mysqldev" and #chown the MySQL-3.23.58-1.src.rpm to user "mysqldev".
But when I redo the #rpmbuild, it still reports some error message
(Perhaps this will not occured to all version, but the version 3.23.58-1 on RHEL AS3U3 still can't be rebuilded successfully)
2. If you download the MySQL-version.src.rpm package from RedHat.com, congratulation!
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/3/en/i386/srpms/mysql-3.23.58-1.src.rpm
root#rpmbuild --rebuild mysql-3.23.58-1.src.rpm
everything work well.
After installed the MySQL package and then started the MySQL server, most probably you will encounter "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" error. Which can be figured out as follows:
#vi /etc/my.cnf
added these two lines
[client]
socket=/var/lib/mysql/mysql.sock

在百度中搜索更多Problem in installing MySQL on RHEL AS3 Update3相关网页 转贴于:中国下载站

  • 上一篇文章:Linux命令Man解释groupadd建立新组
  • 下一篇文章:设定环境变数
  • 阅读统计:[]
  • 中国下载站】【设为主页】【收藏本页】【打印本文】【回到顶部】【关闭此页

    相关文章
    文章评论(评论内容只代表网友观点,与本站立场无关!)

    用户名: 查看更多评论

    分 值:100分 85分 70分 55分 40分 25分 10分 0分

    内 容:

             (注“”为必填内容。) 验证码: 验证码,看不清楚?请点击刷新验证码


    设为首页 - 关于我们 - 广告服务 - 网站地图 - 加入收藏 - 网站声明 - 网站帮助 - 友情链接

    • Copyright (C) 2006-2008 www.cndownz.com All Rights Reserved.
      中国下载站 版权所有. 粤ICP备05141802号. 对本站有任何建议、意见或投诉,请来信:cndownzcom@yahoo.com.cn.
      喜欢中国下载站(cndownz.com),请把中国下载站(cndownz.com)告诉你QQ上的5位好友,多谢支持!