MySQL5.5编译安装问题_MySQL
CMake Error at cmake/readline.cmake:83 (MESSAGE):
Curses librarynot found. Please install appropriatepackage,
remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu,package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
Call Stack (mostrecent call first):
cmake/readline.cmake:118 (FIND_CURSES)
cmake/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)
CMakeLists.txt:268 (MYSQL_CHECK_READLINE)
-- Configuringincomplete, errors occurred!
解决办法:
1).安装ncurses-devel包:yum installncurses-deve
2).删除CMakeCache文件:rm –f CMakeCache.txt
2. Starting MySQL... ERROR! The server quitwithout updating PID file (/data/mysql/localhost.localdomain.pid).
原因:没有初始化权限表
解决办法:
cd /usr/local/mysql(进入mysql安装目录)
chown -R mysql.mysql .
su - mysql
cd server
scripts/mysql_install_db
3. FATAL ERROR: Could not find./bin/my_print_defaults
解决办法: /usr/local/mysql/scripts/mysql_install_db --user=mysql--basedir=/usr/local/mysql --datadir=/usr/local/mysql/data
推荐阅读
-
ubuntu编译安装php5 mysql nginx_MySQL
-
Linux下源码编译MySQL 5.5 与安装过程全记录
-
lamp-编译安装mysql出现问题,求大神指点
-
MySQL-5.1.x在RH5上安装报错的问题
-
关于在 win2000 下安装 mysql 的一些问题!_PHP教程
-
Linux-6.5下基于cmake28来编译安装mysql服务配置解析_MySQL
-
编译安装PHP出现configure: error: mysql configure failed. Plea_PHP教程
-
devstack安装使用openstack常见问题与解决办法_MySQL
-
安装Mysql5.7.10 winx64出现的几个问题汇总
-
Centos6.5 编译安装mysql 5.6.16 详细教程