Home > Database > Mysql Tutorial > body text

MySQL旧版本升级为新版本_MySQL

WBOY
Release: 2016-06-01 13:47:41
Original
934 people have browsed it

bitsCN.com

一:从版本3.23升级到4.10
4.10新特性:支持事务处理和存储过程


升级过程的注意事项:

1:升级采用直接复制安装文件的方法,简单实用,但要注意相关的配置更改; 2:直接复制备份的数据库不能通过复制的方法恢复,因此须采用mysqldump方法备份; 3:mysql4.1的用户管理与3.23有所不同,user表中增加了字段max_questions、max_updates、 max_connections,可以对不同的mysql用户进行不同设置,如果是备份/恢复用户就可以将max_questions、max_updates设置大些,具体设置值根据数据库的实际情况而定。

升级步骤:

1: 停止当前MySQL服务

#/www/mysql/bin/mysqladmin shutdown


2:备份数据文件

#cp

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!