亚洲韩日午夜视频,欧美日韩在线精品一区二区三区,韩国超清无码一区二区三区,亚洲国产成人影院播放,久草新在线,在线看片AV色

您好,歡迎來到思海網(wǎng)絡(luò),我們將竭誠為您提供優(yōu)質(zhì)的服務(wù)! 誠征網(wǎng)絡(luò)推廣 | 網(wǎng)站備案 | 幫助中心 | 軟件下載 | 購買流程 | 付款方式 | 聯(lián)系我們 [ 會(huì)員登錄/注冊(cè) ]
促銷推廣
客服中心
業(yè)務(wù)咨詢
有事點(diǎn)擊這里…  531199185
有事點(diǎn)擊這里…  61352289
點(diǎn)擊這里給我發(fā)消息  81721488
有事點(diǎn)擊這里…  376585780
有事點(diǎn)擊這里…  872642803
有事點(diǎn)擊這里…  459248018
有事點(diǎn)擊這里…  61352288
有事點(diǎn)擊這里…  380791050
技術(shù)支持
有事點(diǎn)擊這里…  714236853
有事點(diǎn)擊這里…  719304487
有事點(diǎn)擊這里…  1208894568
有事點(diǎn)擊這里…  61352289
在線客服
有事點(diǎn)擊這里…  531199185
有事點(diǎn)擊這里…  61352288
有事點(diǎn)擊這里…  983054746
有事點(diǎn)擊這里…  893984210
當(dāng)前位置:首頁 >> 技術(shù)文章 >> 文章瀏覽
技術(shù)文章

centos 7 安裝percona Server 服務(wù)器方法

添加時(shí)間:2019-6-5 23:46:22  添加: 思海網(wǎng)絡(luò) 
如何在 CentOS 7 上安裝 Percona服務(wù)器?其實(shí)也是非常簡(jiǎn)單的,Percona Server提升了在高負(fù)載情況下的 InnoDB 的性能,為 DBA 提供了一些非常有用的性能診斷工具,另外有更多的參數(shù)和命令來控制服務(wù)器行為。

Percona Server簡(jiǎn)介

Percona Server是MySQL的改進(jìn)版本,使用 XtraDB 存儲(chǔ)引擎,在功能和性能上較 MySQL 有著很顯著的提升,如提升了在高負(fù)載情況下的 InnoDB 的性能,為 DBA 提供了一些非常有用的性能診斷工具,另外有更多的參數(shù)和命令來控制服務(wù)器行為。

Percona Server安裝

平臺(tái)說明:

centos 7 ,Percona Server 5.6

執(zhí)行用戶 root , 安裝使用用戶 centralight

1.更新yum

yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm

2.安裝

yum install Percona-Server-client-56 Percona-Server-server-56

安裝如果有沖突,之前已經(jīng)安裝過mysql,則需要卸載


rpm -qa | grep mysql
rpm -qa | grep mariadb
rpm -e [軟件標(biāo)識(shí)]
3.非多實(shí)例配置及啟動(dòng)

默認(rèn)配置文件路徑 /etc/my.cnf


初始化 
 
mysql_install_db --user=centralight --datadir=/cl/data/mysql/percona3311
 
啟動(dòng) 
 
mysqld_safe --user=centralight --datadir=/cl/data/mysql --defaults-file=/cl/dist/conf/mysql/my.cnf 
4.多實(shí)例配置及啟動(dòng)


chown -R centralight /cl/data/mysql/percona3311
 
mysql_install_db --datadir=/cl/data/mysql/percona3311 --user=centralight 
所有配置文件目錄

默認(rèn)配置文件路徑 /etc/my.cnf,修改成如下


[client] 
 
user = root 
 
password = 123 
 
# Here follows entries for some specific programs 
 
[mysqld_multi] 
 
mysqld = /usr/bin/mysqld_safe
 
mysqladmin = /usr/bin/mysqladmin
 
[mysqld3311] 
 
socket = /var/lib/mysql/mysql3311.sock 
 
port = 3311 
 
datadir = /cl/data/mysql/percona3311
 
pid-file = /var/lib/mysql/hostname.pid3311 
 
user = centralight 
 
skip-external-locking 
 
key_buffer_size = 16M 
 
max_allowed_packet = 1M 
 
table_open_cache = 64 
 
sort_buffer_size = 512K 
啟動(dòng)

mysqld_multi --defaults-file=/etc/my.cnf --log=/cl/log/mysql/mysql.log start 3311

報(bào)告狀態(tài)

mysqld_multi --defaults-file=/etc/my.cnf report 3311

5.登陸數(shù)據(jù)庫修改用戶及權(quán)限,并能遠(yuǎn)程連接


mysql -uroot -p -h127.0.0.1 -P3311 
 
mysql> use mysql; 
 
mysql> update user set host='%’ where host = ‘localhost’ and user=‘root’ 
 
mysql> flush privileges; 
設(shè)置密碼


mysql> UPDATE user SET Password=password("123") WHERE user='root' and host='%’; 
 
mysql> flush privileges; 
如果不能遠(yuǎn)程連接,請(qǐng)關(guān)閉防火墻嘗試

CentOS 7.0默認(rèn)使用的是firewall作為防火墻


systemctl stop firewalld.service 
 
systemctl disable firewalld.service


關(guān)鍵字:centos 7、安裝、percona Server、服務(wù)器
分享到:

頂部 】 【 關(guān)閉
版權(quán)所有:佛山思海電腦網(wǎng)絡(luò)有限公司 ©1998-2024 All Rights Reserved.
聯(lián)系電話:(0757)22630313、22633833
中華人民共和國增值電信業(yè)務(wù)經(jīng)營許可證: 粵B1.B2-20030321 備案號(hào):粵B2-20030321-1
網(wǎng)站公安備案編號(hào):44060602000007 交互式欄目專項(xiàng)備案編號(hào):200303DD003  
察察 工商 網(wǎng)安 舉報(bào)有獎(jiǎng)  警警  手機(jī)打開網(wǎng)站