Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Procedure for upgrading mysql version

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the operation steps of upgrading mysql version. The content of the article is carefully selected and edited by the author. It has certain pertinence and is of great reference significance to everyone. Let's learn about the operation steps of upgrading mysql version together with the author.

Version upgrade:

MySQL has many versions, 5.5, 5.6, 5.7 are possible, sometimes our goal is to upgrade the database version.

There are two ways to upgrade, the first is to use mysqldump mode to operate, because the export is sql statement, so directly into the new library is upgraded. For example:

#Export mysqldump -uroot -p'****' -h20.0.2.4 -P3307 --triggers -R --single-transaction --no-autocommit -A >old.sql#Import mysql -uroot -p'***' -h20.0.2.5 -P3306 in new library

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report