Linux MYSQL5 source install
程序员文章站
2022-07-13 21:10:19
...
1.Download mysql.tar.gz AND CMAKE(mysql5 need Cmake build)
2.install cmake (ubuntu sudo apt-get install cmake)
3.cmake -DCMAKE_INSTALL_PREFIX=/home/yangjie/usr/local/mysql5
-DMYSQL_DATADIR=/home/yangjie/usr/local/mysql5/data
-DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci
-DEXTRA_CHARSETS=all
-DENABLED_LOCAL_INFILE=1
error1:
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Performing Test HAVE_PEERCRED - Failed Warning: Bison executable not found in PATH -- Configuring incomplete, errors occurred!
1.ubuntu10.04 sudo apt-get install g++
2.ubuntu10.04 sudo apt-get install bison
上一篇: Spring Cloud 总体概念
下一篇: MFS分布式文件系统
推荐阅读
-
Linux 中的 Install命令
-
详解Linux系统中的install命令的用法
-
linux下安装easy_install的方法
-
Electron npm install 常见错误(Linux)
-
linux系统下source命令的使用讲解
-
linux中install命令和cp命令的使用与区别
-
02. Install redis on Linux
-
Linux开发准备:Ubuntu14.04+Samba+MobaXterm+Source Insight 4.0
-
在电脑端sudo apt-get install linux-source失败,可能是在树莓派下操作
-
[Linux] - 將vim打造成source insight