VPS侦探论坛

 找回密码
 注册
查看: 4235|回复: 0

1.2 升级 mariadb 时候报错。

[复制链接]
发表于 2015-6-1 12:03:23 | 显示全部楼层 |阅读模式

把lnmp1.1卸载,原来lnmp1.1就是装的 mariadb 5.5.42 的版本,安装lnmp1.2成功。在升级mariadb的时候出错。

#>cd lnmp1.2-full
#>./upgrade.sh mariadb

verify your current MySQL root password:123456
Enter password:
MariaDB root password correct.
Current MariaDB Version:5.5.42
You can get version number from https://downloads.mariadb.org/
Please enter MariaDB Version you want.
(example: 10.0.17 ): 5.5.43
===========================
Do you want to install the InnoDB Storage Engine?
(Default yes,if you want please input: y ,if not please enter: n):y
You will install the InnoDB Storage Engine
=====================================================================
You will upgrade MariaDB V to V5.5.43
=====================================================================

Press any key to start...or Press Ctrl+c to cancel

============================check files==================================
mariadb-5.5.43.tar.gz [found]
============================check files==================================
Starting backup all databases...
If the database is large, the backup time will be longer.
mysqldump: Got error: 1286: "Unknown storage engine 'InnoDB'" when using LOCK TABLES
MariaDB databases backup failed,Please backup databases manually!





刚刚卸载lnmp1.2后,重装了lnmp1.2,mariadb选择安装的10.0.17然后再 ./upgrade.sh mariadb 升级 10.0.19 成功了。

[ 本帖最后由 ldlbf 于 2015-6-1 13:01 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 14:45 , Processed in 0.024811 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表