网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

mysql5.1怎样升级到5.6

本篇文章为大家展示了MySQL5.1怎样升级到5.6,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。

10年积累的成都网站制作、做网站经验,可以快速应对客户对网站的新想法和需求。提供各种问题对应的解决方案。让选择我们的客户得到更好、更有力的网络服务。我虽然不认识你,你也不认识我。但先网站设计后付款的网站建设流程,更有漳州免费网站建设让你可以放心的选择与我们合作。

卸载原有mysql版本

rpm -qa | grep -i mysql | xargs rpm -ev --nodeps

去官网下载最新的社区版mysql5.6版本

官网地址:www.mysql.com

mysql5.1怎样升级到5.6

这个tar包里含有许多与MYSQL相关的安装包,需要哪个安装哪个,解压之后的包

mysql5.1怎样升级到5.6

安装mysql的服务器端和客户端

rpm -ivh mysql-server-5.6.35-1.el6.x86-64.rpm
rpm -ivh mysql-client-5.6.35-1.el6.x86_64.rpm

安装完之后,将/var/lib/myql目录下的ib*文件重命名或拷贝出来


升级数据库

[root@msl3 ~]# mysql_upgrade --protocol=tcp -P3306 -p

Enter password:

Looking for 'mysql' as: mysql

Looking for 'mysqlcheck' as: mysqlcheck

Running 'mysqlcheck' with connection arguments: '--protocol=tcp' '--port=3306'

Warning: Using a password on the command line interface can be insecure.

Running 'mysqlcheck' with connection arguments: '--protocol=tcp' '--port=3306'

Warning: Using a password on the command line interface can be insecure.

mysql.columns_priv                                 

mysql.db                                           

mysql.event                                      

mysql.func                                        

mysql.general_log                             

mysql.help_category                                

mysql.help_keyword                                 

mysql.help_relation                                

mysql.help_topic                                  

mysql.host                                        

mysql.ndb_binlog_index                             

mysql.plugin                                       

mysql.proc                                         

mysql.procs_priv                                  

mysql.servers                                    

mysql.slow_log                                     

mysql.tables_priv                                  

mysql.time_zone                                   

mysql.time_zone_leap_second                        

mysql.time_zone_name                               

mysql.time_zone_transition                         

mysql.time_zone_transition_type                  

mysql.user                                         

Running 'mysql_fix_privilege_tables'...

Warning: Using a password on the command line interface can be insecure.

Running 'mysqlcheck' with connection arguments: '--protocol=tcp' '--port=3306'

Warning: Using a password on the command line interface can be insecure.

Running 'mysqlcheck' with connection arguments: '--protocol=tcp' '--port=3306'

Warning: Using a password on the command line interface can be insecure.

OK

启动mysql进程
mysqld_safe &

上述内容就是mysql5.1怎样升级到5.6,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。


文章题目:mysql5.1怎样升级到5.6
网页网址:http://bjjierui.cn/article/ieojdg.html

其他资讯