MySQL Compile error

Source: Internet
Author: User

1.make Error Phenomenon

Warning:bison executable not found in PATH

Solutions

Yum-y Install Bison

2.make Error Phenomenon

Ake Error At/usr/share/cmake-2.8/modules/cmakecxxinformation.cmake:17 (get_filename_component):
Get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
Cmakelists.txt:3 (PROJECT)

CMake Error: cmake_cxx_compiler not set, after Enablelanguage
CMake error:internal CMake Error, trycompile configure of CMake failed

Cause: Gcc-c++ not installed

Yum-y Install gcc-c++

3. Start error

/etc/init.d/mysqld:line 260:my_print_defaults:command not found

Or
MySQL Manager or server PID file could not being found!

Workaround:

Workaround:
# vi/etc/my.cnf (Specify Basedir and DataDir paths)
basedir=/usr/local/mysql Installation path is the path to--prefix

datadir=/usr/local/mysql/data 4. Init error/etc/init.d/mysqld Restart
MySQL Manager or server PID file could not being found! [FAILED]
starting mysql.manager of Pid-file quit without updating fi[failed]


Workaround:all files in the specified directory--datadir=date directory of the initialized data are removed from the new initialization first.
It's good to initialize the database once.

/usr/local/mysql/bin/mysql_install_db--user=mysql  5. Error symptomsstarting MySQL ... The server quit without updating PID file[failed]cal/mysql/data/centos1.pid).start error when installing 5.6Workaround: killall mysqld shows that there is a process, and we did not close MySQL directly to initialize the database. killall MySQL cannot be solved. Must killall mysqld

MySQL Compile 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.