好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > CentOS7安裝調(diào)試Mysql數(shù)據(jù)庫的步驟詳解【實例】

CentOS7安裝調(diào)試Mysql數(shù)據(jù)庫的步驟詳解【實例】

熱門標(biāo)簽:AI電銷機器人 源碼 外呼系統(tǒng)打哪顯哪 新邵電銷機器人企業(yè) 江西外呼系統(tǒng) 北海市地圖標(biāo)注app 湖北ai智能電銷機器人 新科美甲店地圖標(biāo)注 高德地圖標(biāo)注論壇 蘭州ai電銷機器人招商

本實例要求下載并安裝調(diào)試Mysql數(shù)據(jù)庫。

第一步:下載Mysql數(shù)據(jù)庫安裝所需的全部軟件。

我已提前下載好數(shù)據(jù)庫軟件,直接在服務(wù)器下載即可,如下:

通過scp直接下載:

[root@agt20 ~]# scp root@192.168.122.10:/root/mysql* /root/

軟件如下圖:

[root@agt20 ~]# ls mysql-*
mysql-5.7.17.tar
mysql-community-client-5.7.17-1.el7.x86_64.rpm
mysql-community-common-5.7.17-1.el7.x86_64.rpm
mysql-community-devel-5.7.17-1.el7.x86_64.rpm
mysql-community-embedded-5.7.17-1.el7.x86_64.rpm
mysql-community-embedded-compat-5.7.17-1.el7.x86_64.rpm
mysql-community-embedded-devel-5.7.17-1.el7.x86_64.rpm
mysql-community-libs-5.7.17-1.el7.x86_64.rpm
mysql-community-libs-compat-5.7.17-1.el7.x86_64.rpm
mysql-community-minimal-debuginfo-5.7.17-1.el7.x86_64.rpm
mysql-community-server-5.7.17-1.el7.x86_64.rpm
mysql-community-test-5.7.17-1.el7.x86_64.rpm

第二步:通過yum進行安裝,起服務(wù)器并查看

[root@agt20 ~]# yum -y install mysql-*.rpm
[root@agt20 ~]# systemctl restart mysqld
[root@agt20 ~]# systemctl enable mysqld
[root@agt20 ~]# systemctl status mysqld.service 
\u25cf mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since \u4e8c 2019-10-15 11:29:11 CST; 1min 15s ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Main PID: 31584 (mysqld)
CGroup: /system.slice/mysqld.service
\u2514\u250031584 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid...

10\u6708 15 11:28:42 agt20.tedu.cn systemd[1]: Starting MySQL Server...
10\u6708 15 11:29:11 agt20.tedu.cn systemd[1]: Started MySQL Server.
[root@agt20 ~]#

第三步:連接MySQL服務(wù)器,修改密碼;

1)查看初始密碼

[root@agt20 ~]# grep -i 'password' /var/log/mysqld.log 
2019-10-15T03:28:55.200931Z 1 [Note] A temporary password is generated for root@localhost: r3qhDysMrM)

2)使用初始密碼連接mysql服務(wù)

[root@agt20 ~]# mysql -uroot -p'r3qhDysMrM)'
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.17
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>

3)重置數(shù)據(jù)庫管理員roo本機登錄密碼

mysql> alter user root@localhost identified by 'Pwd@123...';
Query OK, 0 rows affected (0.00 sec)

4)修改密碼策略

mysql> set global validate_password_policy=0;
Query OK, 0 rows affected (0.01 sec)
mysql> set global validate_password_length=6;
Query OK, 0 rows affected (0.00 sec)
mysql> alter user root@localhost identified by 'pwd@123';
Query OK, 0 rows affected (0.00 sec)

5)使用修改后的密碼登錄

[root@agt20 ~]# mysql -uroot -ppwd@123
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.17 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>

至此Mysql數(shù)據(jù)庫安裝調(diào)試完成!!!!

總結(jié)

以上所述是小編給大家介紹的CentOS7安裝調(diào)試Mysql數(shù)據(jù)庫的步驟詳解,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
如果你覺得本文對你有幫助,歡迎轉(zhuǎn)載,煩請注明出處,謝謝!

標(biāo)簽:自貢 海南 阿克蘇 黔東 南陽 池州 黃石 大理

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《CentOS7安裝調(diào)試Mysql數(shù)據(jù)庫的步驟詳解【實例】》,本文關(guān)鍵詞  CentOS7,安裝,調(diào)試,Mysql,數(shù)據(jù)庫,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《CentOS7安裝調(diào)試Mysql數(shù)據(jù)庫的步驟詳解【實例】》相關(guān)的同類信息!
  • 本頁收集關(guān)于CentOS7安裝調(diào)試Mysql數(shù)據(jù)庫的步驟詳解【實例】的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 噗呲噗呲好涨太深了视频| 乖女好紧H下药第19章| 草草视频在线免费观看| 舔h| 房东把我弄的高潮三次| 强伦人妻一区二区三区| 国内一国产农村妇女一级毛片 | 99久免费精品视频在线观看78| 无码精品人妻一区二区湖北九色| a一级一色一情| 久久精品日日躁夜夜躁欧美| 91精品国产黑色瑜伽裤| 國產精品久久91| 全国卫视节目表| 放荡的小婬妇3p高H漫画| 国产成人精品无码免费播放精品| 国产成人精品三级91在线影院| 国产黄网| gay啪啪| Japanese日本熟妇| 女同文全肉短篇| 亚洲精品欧美日本中文字幕| 韩国午夜理伦三级2020蜜瓜| 国产美女裸体秘?无遮挡JK視頻| 久久国产一?片免费观看| 美女脱了内裤让男生尿囗| 日韩一区二区三区视频| 美女扒开内??给男人揉| 成人漫画免费网站| 性生活1| 天天拍天天操| 国产欧美综合一区二区三区| 麻豆久久婷婷五月综合国产| 女子舞厅热舞周围男性看醉了 | 555wwz在线观看免费直播| 好爽快点弄我视频| 国产黑丝袜在线| 日干夜干| 动漫美女被吸乳羞漫画4k| 国产真实伦在线观看视频第7集| 军人野外吮她的花蒂沈静舒|