Home > Database > Mysql Tutorial > body text

如何解决安装MySQL5.0后出现1607异常_MySQL

WBOY
Release: 2016-05-30 17:10:23
Original
979 people have browsed it

最近项目比较多,时间不宽松,一直没给大家整理,今天小编抽个时间把我的解决方案分享给大家,具体内容如下所示。

问题描述:

我在自己的电脑上配置了Mysql5环境,同时安装了一个phpMyAdmin管理工具,安装完成后,发现在phpMyAdmin里面输入汉字,总是提示下面这个错误:

Datatype too large

后来想到MySQL安装的时候没有设置字符集!在添加/删除程序里卸载MySQL 后,发现服务里还有一个MySQL的服务没弄掉!用卸载服务的工具卸载后。

重新安装MySQL以后,MySQL服务启动不了,出现:1607错误!看了网上很多相关信息,多数解决办法为更改basedir和Datadir,按照此方法操作后,错误依然没有解除,最后经过试验,重新安装MySQL数据库时把数据库端口改为3309(默认3306)后,MySql服务正常启动。

完成后,在phpMyAdmin/Libraries/config.default.php文件里修改$cfg['Server'] [$i]['Port']='3309'; phpMyAdmin正常后,再建一个数据表,添加一条带汉字的记录

以上方法是小编给大家分享的安装MySQL5.0后出现1607异常的解决办法,希望对大家有所帮助。

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!