最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

CentOS安装MySQL出错帮助

来源:动视网 责编:小采 时间:2020-11-09 12:14:00
文档

CentOS安装MySQL出错帮助

CentOS安装MySQL出错帮助:如果编译时出现了以下错误:checking for tgetent in -ltermcaphellip; nochecking for termcap functions libraryhellip; con 首页 → 数据库技术 背景: 阅读新闻 CentOS 安装 MySQL 出错帮助 [日
推荐度:
导读CentOS安装MySQL出错帮助:如果编译时出现了以下错误:checking for tgetent in -ltermcaphellip; nochecking for termcap functions libraryhellip; con 首页 → 数据库技术 背景: 阅读新闻 CentOS 安装 MySQL 出错帮助 [日


如果编译时出现了以下错误:checking for tgetent in -ltermcaphellip; nochecking for termcap functions libraryhellip; con

首页 → 数据库技术

背景:

阅读新闻

CentOS 安装 MySQL 出错帮助

[日期:2010-11-21] 来源:Linux社区 作者:Linux [字体:]

如果编译时出现了以下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
说明 curses/termcap 库没有安装

出现这样的原因,首先要将ncurses的相关包包安装上
一、如果你的系统是RedHat系列:
yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel

二、如果你的系统是Ubuntu或Debian:
apt-cache search ncurses
apt-get install libncurses5-dev

然后增加一条编译参数
--with-named-curses-libs=/usr/lib/libncursesw.so.5
就可以了

出现:configure: error: No curses/termcap library found
解决方法:

# ./configure --prefix=/usr/local/mysql

为 .#./configure --with-named-curses-libs=/usr/lib/libncursesw.so.5

出现:

../depcomp: line 571: exec: g++: not found
make[1]: *** [my_new.o] 错误 127
make[1]: Leaving directory `/home/justme/software/mysql-5.1.30/mysys'
make: *** [all-recursive] 错误 1

解决 :

下载 安装 gcc-c++-4.1.2-33.i386.rpm(yum intall gcc-c++)

安装或者重新mysql-5.1.30时mysql_install_db出现FATAL ERROR: Could not find mysqld错误解决,

因为/etc/mysql/下出现了个my.cnf

解决方法:

mv /etc/my.cnf /etc/my.cnf.bak

cp support-files/my-medium.cnf /etc/cnf

  • 0
  • CentOS5.4安装Oracle10g数据库总结

    新版MySQL 数据库安装

    相关资讯 CentOS

    图片资讯

    本文评论   查看全部评论 (0)

    评论声明

    最新资讯

    本周热门

    Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
    本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。


    Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

    文档

    CentOS安装MySQL出错帮助

    CentOS安装MySQL出错帮助:如果编译时出现了以下错误:checking for tgetent in -ltermcaphellip; nochecking for termcap functions libraryhellip; con 首页 → 数据库技术 背景: 阅读新闻 CentOS 安装 MySQL 出错帮助 [日
    推荐度:
    标签: 安装 数据 错误
    • 热门焦点

    最新推荐

    猜你喜欢

    热门推荐

    专题
    Top