欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Linux下源码编译MySQL 5.5 与安装过程全记录

程序员文章站 2022-06-05 21:36:08
...

前言:从mysql 5.5版本开始,mysql源码安装开始使用cmake了,编译安装跟以前的版本有点不一样了。一,安装步骤:1.安装前准备工作a

  • If CMake is run after it has previously been run,it may use information that was gathered during its previousinvocation. This information is stored in CMakeCache.txt. When CMakestarts up, it looks for that file and reads its contents if it exists,on the assumption that the information is still correct. Thatassumption is invalid when you reconfigure.
  • Each time you run CMake, you must run makeagain to recompile. However, you may want to remove old object filesfrom previous builds first because they were compiled using differentconfiguration options.