首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux停Percona-Server(mysql衍生版)的安装

2012-07-04 
linux下Percona-Server(mysql衍生版)的安装?安装包:下载地址:http://www.percona.com/redir/downloads/Per

linux下Percona-Server(mysql衍生版)的安装

?


安装包:下载地址:http://www.percona.com/redir/downloads/Percona-Server-5.5/Percona-Server-5.5.18-23.0/binary/linux/i686/Percona-Server-5.5.18-rel23.0-203.Linux.i686.tar.gz
命令步骤:shell> groupadd mysqlshell> useradd -r -g mysql mysqlshell> cd /usr/localshell> tar zxvf /path/to/mysql-VERSION-OS.tar.gzshell> ln -s full-path-to-mysql-VERSION-OS mysqlshell> cd mysqlshell> chown -R mysql .shell> chgrp -R mysql .shell> scripts/mysql_install_db --user=mysql
注:上一步,如发现如下错误提示,则说明系统缺少依存库:/usr/local/mysql/bin/mysqld: error while loading shared libraries:?libaio.so.1: cannot open shared object file: No such file or directory
只需命令:apt-get install libaio1 libaio-dev 安装libaio.so扩展后再继续。。。

shell> chown -R root .shell> chown -R mysql data# Next command is optionalshell> cp support-files/my-medium.cnf /etc/my.cnfshell> bin/mysqld_safe --user=mysql &# Next command is optionalshell> cp support-files/mysql.server /etc/init.d/mysql.server./bin/mysqladmin -u root password 'new-password'




原文地址:http://user.qzone.qq.com/89907749/blog/1326183011

热点排行