如何在 UwAmp 中升级 MySQL? [英] How to upgrade MySQL in UwAmp?

查看:45
本文介绍了如何在 UwAmp 中升级 MySQL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行 UwAmp 3.1.0.我正在尝试将 MySQL 从当前安装的版本 (5.7.11) 升级到更新的版本 (5.7.29).我下载了安装 zip 文件并将其解压缩到一个新文件夹 bin\database\mysql-5.7.29 中.我将 bin\database\mysql-5.7.11\data 目录复制到 bin\database\mysql-5.7.29 中.尝试启动 MySQL 5.7.29 时,我收到以下消息:[警告] InnoDB:表 mysql/innodb_table_stats 在列名 table_name 中的长度不匹配.请运行mysql_upgrade.

I am running UwAmp 3.1.0. I am trying to upgrade MySQL from is currently installed release (5.7.11) to a newer release (5.7.29). I downloaded the installation zip file and extracted it in a new folder bin\database\mysql-5.7.29. I copied the bin\database\mysql-5.7.11\data directory into bin\database\mysql-5.7.29. When trying to start MySQL 5.7.29 I get the following message : [Warning] InnoDB: Table mysql/innodb_table_stats has length mismatch in the column name table_name. Please run mysql_upgrade.

如何在 UwAmp 中运行 mysql_upgrade?

How can I run mysql_upgrade in UwAmp ?

推荐答案

我总是在 MySQL 和 MariaDB 版本(32 位)发布时添加它们.我只是关闭我的数据库服务器,将新版本包解压缩到 bin/database 中的一个新文件夹中,然后复制data"文件夹和 my_uwamp.ini 文件.复制完成后,我启动新的数据库服务器,确保我可以使用现有的 UwAmp 密码登录,然后在新的数据库版本bin"文件夹中运行 mysql_upgrade 命令行实用程序.

I always add MySQL and MariaDB versions (32 bit) as they are released. I simply shut down my DB server, extract the new version package into a new folder within bin/database, then I copy the 'data' folder and the my_uwamp.ini file. Once the copy is completed, I bring up the new DB server, make sure I can log in with the existing UwAmp passwords, then run the mysql_upgrade command line utility in the new db version 'bin' folder.

这篇关于如何在 UwAmp 中升级 MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆