开发者社区> 问答> 正文
1
0
分享

mysql安装问题


[root@iZwz926lnzvkiblc9agi3sZ ~]# rpm -ivh MySQL-server-5.6.36-1.el7.x86_64.rpm
warning: MySQL-server-5.6.36-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
    .........................
        .........................
[root@iZwz926lnzvkiblc9agi3sZ ~]# rpm -ivh MySQL-server-5.6.36-1.el7.x86_64.rpm –force –nodeps
warning: MySQL-server-5.6.36-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: open of –force failed: No such file or directory
error: open of –nodeps failed: No such file or directory
[root@iZwz926lnzvkiblc9agi3sZ ~]# rpm -ivh MySQL-server-5.6.36-1.el7.x86_64.rpm --force --nodeps
warning: MySQL-server-5.6.36-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:MySQL-server-5.6.36-1.el7        ################################# [100%]
warning: user mysql does not exist - using root
warning: group mysql does not exist - using root
warning: user mysql does not exist - using root
warning: group mysql does not exist - using root
FATAL ERROR: please install the following Perl modules before executing /usr/bin/mysql_install_db:
Data::Dumper
[root@iZwz926lnzvkiblc9agi3sZ ~]# rpm -ivh MySQL-client-5.6.36-1.el7.x86_64.rpm
warning: MySQL-client-5.6.36-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:MySQL-client-5.6.36-1.el7        ################################# [100%]
[root@iZwz926lnzvkiblc9agi3sZ ~]# rpm -ivh MySQL-devel-5.6.36-1.el7.x86_64.rpm
warning: MySQL-devel-5.6.36-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:MySQL-devel-5.6.36-1.el7         ################################# [100%]
[root@iZwz926lnzvkiblc9agi3sZ ~]# service mysql start
Starting MySQL.170505 16:04:12 mysqld_safe error: log-error set to '/var/log/mariadb/mariadb.log', however file don't exists. Create writable for user 'mysql'.
The server quit without updating PID file (/var/lib/mysql/i[FAILED]zvkiblc9agi3sZ.pid).


现在怎么办?

展开
收起
yves0728 2017-05-05 16:07:56 4800 0
举报
飞天免费试用计划
领取免费云资源,开启云上实践第一步
云数据库 RDS MySQL
集群系列 2核4GB
额度3个月内有效
RDS MySQL Serverless 基础系列
0.5-2RCU 50GB
额度3个月内有效
RDS MySQL Serverless 高可用系列
价值2615元额度,1个月
额度1个月内有效
1 条回答
写回答
取消 提交回答
  • 程序就是我的人生!
    有可能是安装文件的问题吧,要不换个mysql的版本试一下,最好去官方下载,下载体积大点的
    2017-05-05 17:06:26 举报
    赞同 评论 打赏

    评论

    全部评论 (0)

    登录后可评论
问答排行榜
最热
最新

相关电子书

更多
One Box: 解读事务与分析一体化数据库 HybridDB for MySQL 立即下载
One Box:解读事务与分析一体化数据库HybridDB for MySQL 立即下载
如何支撑HTAP场景-HybridDB for MySQL系统架构和技术演进 立即下载

相关镜像