Solution to 1607 exception after MySQL5.0 is installed _ MySQL

Source: Internet
Author: User
Today, due to work needs, I configured the Mysql5 environment on my computer and installed a phpMyAdmin management tool. after installation, I found that I entered Chinese characters in phpMyAdmin, the following error is always prompted: Datatypetoolarge later thought that the character set was not set during MySQL installation! After uninstalling MySQL in the add/delete program, mysql installation is found.

Today, due to work needs, I configured the Mysql5 environment on my computer and installed

PhpMyAdmin management tool. after the installation is complete, you can enter Chinese characters in phpMyAdmin.

The following error is displayed:

     Datatype too large

Later I thought that the character set was not set during MySQL installation! Uninstall MySQL in add/delete programs

And I found that there is another MySQL service in the service! After uninstalling the service with a tool.

After you reinstall MySQL, the MySQL service cannot be started and the error 1607 is displayed! I read a lot online

Most solutions are to change basedir and Datadir.

The error still persists. after the test, the database port is changed

After 3309 (3306 by default), the MySql service starts normally.

Then, modify $ cfg ['server'] in The phpMyAdmin/Libraries/config. default. php file.

[$ I] ['port'] = '000000'; after phpMyAdmin is normal, create a data table and add a record with Chinese characters,

The error message disappears. All operations are displayed as normal.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.