debian7 compile mysql5.6.12.txt
来源:互联网 发布:苹果cms如何添加采集 编辑:程序博客网 时间:2024/05/20 11:23
#Compile mysql-5.6.12groupadd mysqluseradd -g mysql mysql./configure --prefix=/usr/local/mysql#error ./configure: command not foundsudo apt-get install cmakecmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_TCP_PORT=3306 -DMYSQL_UNIX_ADDR=/tmp/mysql.sock#error Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)#CMake Error at cmake/readline.cmake:85 (MESSAGE):#Curses library not found. Please install appropriate package,#remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.sudo apt-get install libncurses5-devrm -f CMakeCache.txtmakemake installsudo cp support-files/my-default.cnf /etc/my.cnfsudo cp support-files/mysql.server /etc/init.d/mysqlsudo chmod 775 /etc/init.d/mysqlchown -R mysql:mysql ../scripts/mysql_install_db --user=mysql --datadir=/var/lib/mysql#error#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.#fix# which my_print_defaults/usr/local/mysql/bin/my_print_defaults./scripts/mysql_install_db --basedir=/usr/local/mysql --user=mysql --datadir=/var/lib/mysql/etc/init.d/mysql restart#error#[FAIL] MySQL server PID file could not be found! ... failed!#Starting MySQL#[FAIL..] The server quit without updating PID file (/usr/local/mysql/data/pomelo.pid). ... failed!sudo tail -f /usr/local/mysql/data/pomelo.err#2013-06-06 01:40:52 20561 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist#Fix#Check valid params on my.cnf./bin/mysqladmin -u root password '123' #change password
0 0
- debian7 compile mysql5.6.12.txt
- Debian7.8源码安装MySQL5.7
- CMake 基本使用方法--写CMakeList.txt,Compile ROS package
- debian7.5
- MySQL5.5安装出现CMake错误找不到CMakelists.txt原因
- debian7安装oracle11g
- Debian7安装无线网卡
- debian7.0 配置笔录
- debian7编译libcurl
- Debian7.4 sources
- debian7.4安装手记
- debian7 系统安装配置
- debian7.6 安装
- debian7修改密码
- debian7 安装配置总结
- debian7中文支持
- Debian7 更换源
- debian7开机启动
- 理解Fragment生命周期
- 重构—改善既有代码的设计第一天笔记
- 多平台上使用 Cisco IPSec Xauth PSK 穿越
- C/C++ const关键字
- 如何利用QQ空间做关键词排名
- debian7 compile mysql5.6.12.txt
- PHPExcel部署在IIS服务器无法下载问题的处理
- ReportStudio入门教程(一) - 基本的列表
- 设置table的td宽度不随文字变宽
- Vimrc 基础 VIM配置之常用基本配置
- 【游戏课】技术片段之——球面线性插值(SLERP)
- 什么是全栈工程师
- MyBatis多参数传递之默认命名方式示例——MyBatis学习笔记之十二
- 匹配两个EXCEL表中的数据,即读取一个表中数据在另一个表中查询