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)