安装mariodb中出现的问题
2013-06-18 09:55
309 查看
安装mariodb中出现的问题
cmake相关cmake需依赖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.
解决方式:
编译出现错误后,务必要删除源码,重新解压一份,然后进行
安装mariodb
FATAL ERROR: Could 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 at
http://kb.askmonty.org/v/installing-system-tables-mysql_install_db.
解决方式:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
解决方式:
在/etc/my.cnf 中添加
(mysql.sock的路径)
出了这么多错~
cmake相关cmake需依赖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.
解决方式:
yum install gcc yum install gcc-c++ yum install ncurses-devel
编译出现错误后,务必要删除源码,重新解压一份,然后进行
ccmake . cmake . make&&make install
安装mariodb
FATAL ERROR: Could 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 at
http://kb.askmonty.org/v/installing-system-tables-mysql_install_db.
解决方式:
./mysql_install_db --basedir=/usr/local/mysql/
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
解决方式:
在/etc/my.cnf 中添加
[client] socket=/var/lib/mysql/mysql.sock
(mysql.sock的路径)
出了这么多错~
相关文章推荐
- Win 7 安装VMware Workstation Pro 14出现 “Intel VT-x禁用”问题以及“无法连接 MKS: 套接字连接尝试次数太多;正在放弃”问题的实质性解决
- Oracle INS-3205 (解决oracle在安装过程中出现的问题)
- ubnutu下安装.NetCore出现的问题解决
- 转:移植SlidingMenu Android library,和安装example出现的问题解决
- HFSS安装出现Unable to detect installed products.config/admin.xml exists 问题
- 安装MySQL出现的问题
- 关于android开发出现“你的手机上未安装应用程序”问题
- 安装sqlserver出现的怪问题
- redhat 6.7 安装nvidia显卡驱动时出现的问题
- android studio安装出现两个图标的问题
- SQL Server2005安装过程中可能出现的问题
- vmware tools安装出现的问题
- Vegas安装出现问题怎么办?
- Linux 安装oracle11g 出现的问题及解决方案
- opencv安装完成,测试时出现没有为opencv_core2410d.dll加载符号问题的解决
- DRBD编译安装中出现的问题及解决小结
- 安装cx_oracle 出现 python version 3.5 required,which was not found in the registry问题
- SQLServer 2K 安装重复出现挂起问题解决办法
- ClickOnce部署出现 系统必备的安装位置未设置为组件供应商的网站,无法在磁盘上找到 dotNetFx40LP_Client_x86_x64cs.exe 问题的解决方案
- myeclipse安装插件出现“resolving and validating the profile”卡死问题的解决方案