安装mysql常见错误及解决
来源:互联网 发布:php面向对象测试题 编辑:程序博客网 时间:2024/05/01 09:55
装mysql时出现以下错误:
1.
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
解决方案:
yum -y install ncurses-devel
2.
../depcomp: line 571: exec: g++: not found
解决方案:
使用如下两个命令就可把gcc,gcc-c++统统安装上:
yum -y install gcc
yum -y install gcc-c++
3.
命令:mysqladmin password '密码'
bash:mysqladmin not found
解决方案:mysqladmin 前加上路径名【去configure --prefix=xxx指定的xxx下的mysql/bin里运行它】
4.
报错:/usr/local/mysql/bin/mysqld: unknown option ‘–skip-bdb’
解决方案:如果系统中有一个存在于/etc/mysql中的my.cnf,更改这个/etc/mysql/my.cnf的名字即可
5.
报错:error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
解决方案:ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
6.用grant all privileges 给mysql授权时,出现ERROR 1290(HY000)错误
在用grant all privileges on *.* to root@192.168.0.3 identified by "123" 给mysql数据库,作远程访问授权时,出现错误:
ERROR 1290 (HY000):The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement.
其解决办法如下:
flush privileges。
再用grant all 命令。
- 安装mysql常见错误及解决
- Mysql常见错误及解决
- Mysql常见错误及解决方式
- 安装kscope方法及常见错误解决
- mysql-5.7.10安装及错误解决
- MySQL数据库导出与导入及常见错误解决
- MySQL数据库导出与导入及常见错误解决(转)
- IIS安装及常见错误的解决经验
- mysql常见错误排查解决。
- ubuntu常见错误及解决
- hadoop常见错误及解决
- 常见错误及解决方式
- 爬虫常见错误及解决
- ROS常见错误及解决
- Apache+php+MySQL 安装注意细节及常见错误
- mysql安装错误解决
- 安装MySql的常见错误
- CentOS 7 安装MySQL方法及错误解决
- 十七、JAVA方法重载
- 我的大学 --徐宥
- 马化腾:互联网产品创新的七个纬度
- 十八、java中this的用法
- C# 用数据库读取Excel出现“定义了过多字段”错误的解决方法
- 安装mysql常见错误及解决
- : gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive
- linux下的多进程服务器框架
- OpenGL库函数的作用
- js计算两个时间之间的天数差
- PHP可调试团队开发环境配置-支持企业级开发
- 西安消灭"断头路"改善路网结构 丈八路迟迟难打通
- Linux共享内存的查看和删除
- 京东商城技术架构:前端.NET后端Java