linux下Percona-Server(mysql衍生版)的安裝
inux下Percona-Server(mysql衍生版)的安裝
4小時前
安裝包:
下載地址:
命令步驟:
shell> groupadd mysql
shell> useradd -r -g mysql mysql
shell> cd /usr/local
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> 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 optional
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> 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
4小時前
安裝包:
下載地址:
命令步驟:
shell> groupadd mysql
shell> useradd -r -g mysql mysql
shell> cd /usr/local
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> 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 optional
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> 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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90618/viewspace-715107/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL Linux壓縮版安裝方法(下)MySqlLinux
- Linux下安裝、解除安裝mysqlLinuxMySql
- mysql linux下安裝MySqlLinux
- Linux下Mysql安裝LinuxMySql
- linux 下安裝mysqlLinuxMySql
- linux下安裝MysqlLinuxMySql
- centos/linux下的安裝mysqlCentOSLinuxMySql
- mysql在linux下的安裝MySqlLinux
- 【MySQL安裝】Linux下安裝MySQL(預編譯)MySqlLinux編譯
- [linux]linux下安裝mysqlLinuxMySql
- Linux下安裝MySQL 5.7LinuxMySql
- Linux 下 docker 安裝 MySQLLinuxDockerMySql
- Linux下安裝使用MySQLLinuxMySql
- Linux下解除安裝MySQLLinuxMySql
- linux下mysql解除安裝LinuxMySql
- 在linux下安裝mysqlLinuxMySql
- Windows下安裝MySQL解壓版WindowsMySql
- linux下安裝mysql5.5.17LinuxMySql
- 【mysql】linux下安裝mysql-5.7.31MySqlLinux
- mysql在linux上cmake安裝方法(自己安裝版)MySqlLinux
- mysql在linux下的完整安裝(轉)MySqlLinux
- MySQL-01.Linux下MySQL安裝和使用MySqlLinux
- Linux下安裝Mysql資料庫LinuxMySql資料庫
- linux下解除安裝自帶mysqlLinuxMySql
- 在linux環境下安裝MysqlLinuxMySql
- MySQL Linux壓縮版安裝方法(上)MySqlLinux
- linux下安裝mysql的問題解決LinuxMySql
- Linux下檢視MySQL的安裝路徑LinuxMySql
- linux下mysql-4.0.27版本資料庫(原始碼包)的安裝LinuxMySql資料庫原始碼
- homebrew下載安裝及mysql的下載安裝MySql
- Mysql--Linux系統下mysql 5.5.31安裝MySqlLinux
- Linux red hat 核心版下安裝NginxLinuxNginx
- mysql 非安裝版的配置MySql
- Linux系統下載mysql與安裝LinuxMySql
- 實踐:Linux下安裝mysql8.0LinuxMySql
- Linux下用rpm方式安裝MySQLLinuxMySql
- Linux下MySQL5.6原始碼安裝LinuxMySql原始碼
- 記錄:linux下安裝mysql5LinuxMySql