MySQL 5.1.55 is installed in Linux without the innoDB Data Engine.

Source: Internet
Author: User
Installing a database in Linux causes a lot of trouble. The following is one of the troubles: After the innodb database engine is installed, find a lot of information, which is roughly as follows: 1. Go

Installing a database in Linux causes a lot of trouble. The following is one of the troubles: After the innodb database engine is installed, find a lot of information, which is roughly as follows: 1. Go

Installing a database in Linux causes a lot of trouble. The following is one of the troubles:

After the innodb database engine is installed, find a lot of information, which is roughly as follows:

1. Remove # skip-before innodb #

2. Delete the log file (found, but not found)

After checking, the "#" before "skip-innodb" is removed. Secondly, I couldn't find what he called log_files.
Later, I decided to re-compile and install it.
./Configure -- prefix =/usr/local/mysql \
-- With-extra-charsets = all -- without-isam \
-- Exec-prefix =/usr/local/mysql \
-- Localstatedir =/usr/local/mysql/var \
-- Sysconfdir =/usr/local/mysql/etc -- with-tcp-port = 3306 \
-- With-innodb -- with-partition

The result is incorrect. It means you do not know -- without-isam, -- with-extra-charset = all, And -- with-partition.
Run. /configure -- help found that the option "-- with-extra-charset = all" should be "-- with-extra-charsets = all" (s missing ), -- with-innodb -- with-partition does not exist at all, and it is similar.

This is depressing .. /Configure -- help displays innoDB at the end, in plugins. I suddenly realized that it was originally installed as a plug-in. At first glance, the options are "-- with-plugins" and "-- with-plugin-[]" as cainiao. "-- with-plugins = all, the result is no error.

,

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.