MySQL installing the wrong problem under Linux

Source: Internet
Author: User

[Email protected] fangwei]# CD Mysql-connector-c-6.0.2-linux-sles10-x86-64bit


[Email protected] mysql-connector-c-6.0.2-linux-sles10-x86-64bit]# cmake-dcmake_install_prefix=/opt/mysql/- Dmysql_datadir=/opt/mysql/data-dmysql_unix_addr=/opt/mysql/data/mysqld.sock-dwith_innobase_storage_engine=1- Denabled_local_infile=1-dmysql_tcp_port=3306-dextra_charsets=all-ddefault_charset=utf8-ddefault_collation=utf8 _general_ci-dmysql_unix_addr=/opt/mysql/data/mysql.sock-dmysql_user=mysql-dwith_debug=0
CMake error:the Source Directory "/root/fangwei/mysql-connector-c-6.0.2-linux-sles10-x86-64bit" does not appear to Contain CMakeLists.txt.
Specify--HELP for usage, or press the Help button on the CMake GUI.


[Email protected] mysql-connector-c-6.0.2-linux-sles10-x86-64bit]#


Install mysql6.0.2 in Linux when the error, the online search for a solution some said to hit: first hit the bottom package:
Yum-y install gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel* Mak E CMake Bison
Yum-y Install Bison

I followed this method also hit the bottom bag, still wrong!

This article is from "Ghost" blog, please make sure to keep this source http://caizi.blog.51cto.com/5234706/1543357

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.