An error reported when installing MySQL-5.1.x on RH5

Source: Internet
Author: User

The customer requested that the mysql-5.1.32 be a gbk version

I downloaded the Binary source code from mysql.com. You don't have to compile and install it yourself. Later, we found the latin1 language ~

Search online for a long time, a useful article does not, are under freebsd how to re-install mysql-5.1.32, let him support gbk

Last resort. I searched for the mysql5.1.32 source code package and found it myself ~

Download http://dev.mysql.com/downloads/mysql/5.1.html mysql5.1.32.tar.gz from here

For how to support gbk, the default -- with-charset = gbk -- with-xcharset = all

The most important thing is that an error occurs after the installation. If an error occurs during startup, check the error.

/Usr/local/mysql5/libexec/mysqld: Table 'mysql. In in 'doesn' t exist

090224 23:30:42 [ERROR] Can't open the mysql. plugin table. Please run mysql_upgrade to create it.

090224 23:30:42 [ERROR]/usr/local/mysql5/libexec/mysqld: unknown option '-- skip-federated'

090224 23:30:42 [ERROR] Aborting

090224 23:30:42 [Note]/usr/local/mysql5/libexec/mysqld: Shutdown complete

Solution

Comment out the new version -- skip-federated in my. cnf and you do not need this parameter. If you need this engine to be added during compilation

-- With-plugins = federated: Use the federated parameter in my. cnf.

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.