Problems in installing mariodb

Source: Internet
Author: User

Problems with installing mariodb install problems in mariodb cmake related cmake must rely on make -- Running cmake version 2.6.4 -- The CXX compiler identification is unknown CMake Error: your CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND "was not found. please set CMAKE_CXX_COMPILER to a valid compiler path or name. solution: 1yum install gcc2yum install gcc-c ++ 3yum install ncurses-devel. After an error occurs during compilation, you must delete the source code, decompress it again, and then perform 1 ccmake. 2 cmake. 3 make & make install mariodb fatal error: cocould not find. /bin/my_print_defaults If you compiled from source, you need to run 'make install' to copy the software into the correct location ready for operation. if you are using a binary release, you must either be at the top level of the extracted archive, or pass the -- basedir option pointing to that location. the latest information about mysql_install_db is available http://kb.askmonty.org/v/installing-system-tables-mysql_install_db . Solution: 1. /mysql_install_db -- basedir =/usr/local/mysql/ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql. sock '(2) solution: in/etc/my. add 1 [client] 2 socket =/var/lib/mysql to cnf. sock (mysql. sock path)

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.