婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > centos 7下安裝mysql(MariaDB)的教程

centos 7下安裝mysql(MariaDB)的教程

熱門標簽:如何辦理400客服電話 西藏地圖標注改進點 外呼系統線路經常出問題嗎 外呼系統怎樣才能不封號 地圖標注什么軟件好用 神行者百貨商場地圖標注 地圖標注專員入駐 安陽手機自動外呼系統原理是什么 地圖標注百度競價

centos7安裝MariaDB教程,分享給大家

1.centos7現狀:

  新系統無法再使用yum install mysql-server來安裝mysql,因為已使用mariadb代替mysql。

2.安裝mariadb:

[root@localhost ~]# yum -y install mariadb*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.37-1.el7_0 will be installed
---> Package mariadb-bench.x86_64 1:5.5.37-1.el7_0 will be installed
---> Package mariadb-devel.x86_64 1:5.5.37-1.el7_0 will be installed
---> Package mariadb-embedded.x86_64 1:5.5.37-1.el7_0 will be installed
---> Package mariadb-embedded-devel.x86_64 1:5.5.37-1.el7_0 will be installed
---> Package mariadb-libs.x86_64 1:5.5.37-1.el7_0 will be installed
---> Package mariadb-server.x86_64 1:5.5.37-1.el7_0 will be installed
--> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.37-1.el7_0.x86_64
---> Package mariadb-test.x86_64 1:5.5.37-1.el7_0 will be installed
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:4.023-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================
 Package              Arch       Version           Repository     Size
==========================================================================================================
Installing:
 mariadb              x86_64      1:5.5.37-1.el7_0      updates      8.9 M
 mariadb-bench           x86_64      1:5.5.37-1.el7_0      updates      385 k
 mariadb-devel           x86_64      1:5.5.37-1.el7_0      updates      744 k
 mariadb-embedded         x86_64      1:5.5.37-1.el7_0      updates      3.6 M
 mariadb-embedded-devel      x86_64      1:5.5.37-1.el7_0      updates      7.4 M
 mariadb-libs           x86_64      1:5.5.37-1.el7_0      updates      752 k
 mariadb-server          x86_64      1:5.5.37-1.el7_0      updates       11 M
 mariadb-test           x86_64      1:5.5.37-1.el7_0      updates      7.9 M
Installing for dependencies:
 perl-DBD-MySQL          x86_64      4.023-5.el7         base        140 k

Transaction Summary
==========================================================================================================
Install 8 Packages (+1 Dependent package)

Total download size: 40 M
Installed size: 279 M
Downloading packages:
(1/9): mariadb-bench-5.5.37-1.el7_0.x86_64.rpm                   | 385 kB 00:00:00
(2/9): mariadb-devel-5.5.37-1.el7_0.x86_64.rpm                   | 744 kB 00:00:00
(3/9): mariadb-embedded-5.5.37-1.el7_0.x86_64.rpm                 | 3.6 MB 00:00:00
(4/9): mariadb-5.5.37-1.el7_0.x86_64.rpm                      | 8.9 MB 00:00:00
(5/9): mariadb-libs-5.5.37-1.el7_0.x86_64.rpm                   | 752 kB 00:00:00
(6/9): mariadb-server-5.5.37-1.el7_0.x86_64.rpm                  | 11 MB 00:00:00
(7/9): mariadb-embedded-devel-5.5.37-1.el7_0.x86_64.rpm              | 7.4 MB 00:00:00
(8/9): mariadb-test-5.5.37-1.el7_0.x86_64.rpm                   | 7.9 MB 00:00:00
(9/9): perl-DBD-MySQL-4.023-5.el7.x86_64.rpm                    | 140 kB 00:00:00
----------------------------------------------------------------------------------------------------------
Total                                   36 MB/s | 40 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
 Installing : 1:mariadb-libs-5.5.37-1.el7_0.x86_64                          1/9
 Installing : 1:mariadb-5.5.37-1.el7_0.x86_64                            2/9
 Installing : perl-DBD-MySQL-4.023-5.el7.x86_64                           3/9
 Installing : 1:mariadb-server-5.5.37-1.el7_0.x86_64                         4/9
 Installing : 1:mariadb-devel-5.5.37-1.el7_0.x86_64                         5/9
 Installing : 1:mariadb-embedded-5.5.37-1.el7_0.x86_64                        6/9
 Installing : 1:mariadb-embedded-devel-5.5.37-1.el7_0.x86_64                     7/9
 Installing : 1:mariadb-test-5.5.37-1.el7_0.x86_64                          8/9
 Installing : 1:mariadb-bench-5.5.37-1.el7_0.x86_64                         9/9
 Verifying : 1:mariadb-test-5.5.37-1.el7_0.x86_64                          1/9
 Verifying : 1:mariadb-embedded-devel-5.5.37-1.el7_0.x86_64                     2/9
 Verifying : 1:mariadb-embedded-5.5.37-1.el7_0.x86_64                        3/9
 Verifying : 1:mariadb-libs-5.5.37-1.el7_0.x86_64                          4/9
 Verifying : 1:mariadb-bench-5.5.37-1.el7_0.x86_64                         5/9
 Verifying : 1:mariadb-5.5.37-1.el7_0.x86_64                            6/9
 Verifying : 1:mariadb-server-5.5.37-1.el7_0.x86_64                         7/9
 Verifying : perl-DBD-MySQL-4.023-5.el7.x86_64                           8/9
 Verifying : 1:mariadb-devel-5.5.37-1.el7_0.x86_64                         9/9

Installed:
 mariadb.x86_64 1:5.5.37-1.el7_0            mariadb-bench.x86_64 1:5.5.37-1.el7_0
 mariadb-devel.x86_64 1:5.5.37-1.el7_0         mariadb-embedded.x86_64 1:5.5.37-1.el7_0
 mariadb-embedded-devel.x86_64 1:5.5.37-1.el7_0     mariadb-libs.x86_64 1:5.5.37-1.el7_0
 mariadb-server.x86_64 1:5.5.37-1.el7_0         mariadb-test.x86_64 1:5.5.37-1.el7_0

Dependency Installed:
 perl-DBD-MySQL.x86_64 0:4.023-5.el7

Complete!
[root@localhost ~]# systemctl start mariadb.service
[root@localhost ~]# systemctl enable mariadb.service
ln -s '/usr/lib/systemd/system/mariadb.service' '/etc/systemd/system/multi-user.target.wants/mariadb.servi           
ce'
[root@localhost ~]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 5.5.37-MariaDB MariaDB Server

Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> logout
  -> exit
  ->
  -> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaD           
B server version for the right syntax to use near 'logout
exit' at line 1
MariaDB [(none)]> exit
Bye
[root@localhost ~]# systemctl enable mariadb.service
[root@localhost ~]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 5.5.37-MariaDB MariaDB Server

Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> show databases;
+--------------------+
| Database      |
+--------------------+
| information_schema |
| mysql       |
| performance_schema |
| test        |
+--------------------+
rows in set (0.00 sec)

MariaDB [(none)]> use test
Database changed
MariaDB [test]> show tables;
Empty set (0.00 sec)

MariaDB [test]> exit
Bye
[root@localhost ~]# mysql_secure_installation
/usr/bin/mysql_secure_installation: line 379: find_mysql_client: command not found

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
   SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
 ... Success!

Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
 ... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
 ... Success!

Cleaning up...

All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!
[root@localhost ~]# mysql -uroot -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 15
Server version: 5.5.37-MariaDB MariaDB Server

Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> show databases;
+--------------------+
| Database      |
+--------------------+
| information_schema |
| mysql       |
| performance_schema |
| zbphp.com     |
+--------------------+
rows in set (0.00 sec)

MariaDB [(none)]>

以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持腳本之家。

您可能感興趣的文章:
  • centos 7安裝mysql5.5和安裝 mariadb使用的命令
  • centos 下面安裝python2.7 +pip +mysqld
  • centos 7安裝mysql5.5的方法
  • CentOS 7中安裝mysql server的步驟分享
  • CentOS下PHP7的編譯安裝及MySQL的支持和一些常見問題的解決辦法
  • mysql 5.7.17 安裝配置方法圖文教程(CentOS7)
  • 64位CentOs7源碼安裝mysql-5.6.35過程分享
  • Centos6.5編譯安裝mysql 5.7.14詳細教程
  • CentOS7.2虛擬機上安裝MySQL 5.6.32的教程
  • Centos7下MySQL安裝教程

標簽:酒泉 AXB 萍鄉 雞西 衡水 阜陽 張掖 貴港

巨人網絡通訊聲明:本文標題《centos 7下安裝mysql(MariaDB)的教程》,本文關鍵詞  centos,7下,安裝,mysql,MariaDB,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《centos 7下安裝mysql(MariaDB)的教程》相關的同類信息!
  • 本頁收集關于centos 7下安裝mysql(MariaDB)的教程的相關信息資訊供網民參考!
  • 推薦文章
    婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av
    欧美日韩综合一区| 精品视频在线免费观看| 成人av在线资源网站| 在线电影一区二区三区| 天堂蜜桃91精品| 91精品国产色综合久久不卡电影| 亚洲日本va午夜在线影院| eeuss影院一区二区三区| 中文字幕在线观看一区二区| 色综合一个色综合| 亚洲一卡二卡三卡四卡无卡久久| 色狠狠色狠狠综合| 日韩国产精品大片| 久久九九久精品国产免费直播| 麻豆精品新av中文字幕| 国产在线乱码一区二区三区| 欧美卡1卡2卡| 亚洲超碰精品一区二区| 91.xcao| 中文字幕亚洲一区二区av在线 | 精品一区二区影视| 欧美日韩在线观看一区二区 | 天堂成人免费av电影一区| 欧美一区二区三区电影| 美日韩一级片在线观看| 久久久不卡影院| 欧美在线高清视频| 精品一区在线看| 亚洲欧美日韩在线不卡| 欧美人妇做爰xxxⅹ性高电影| 国产一区日韩二区欧美三区| 亚洲同性gay激情无套| 欧美久久久久久久久| 国产成人一区二区精品非洲| 亚洲国产精品欧美一二99| 中文字幕中文字幕在线一区 | 亚洲女同ⅹxx女同tv| 99精品欧美一区二区蜜桃免费| 亚洲综合激情小说| 日韩欧美aaaaaa| 99久久夜色精品国产网站| 久久99国内精品| 亚洲黄色性网站| 亚洲国产成人自拍| 日韩亚洲电影在线| 欧美自拍偷拍午夜视频| 精品一区二区在线观看| 日韩电影在线免费看| 亚洲日本va午夜在线电影| 亚洲国产经典视频| 国产日韩精品一区| 日韩精品一区二区三区在线| 色综合天天综合| 成人av在线资源| 国产裸体歌舞团一区二区| 丝袜脚交一区二区| 一级特黄大欧美久久久| 337p亚洲精品色噜噜噜| 94-欧美-setu| 成人av午夜影院| 国产成人精品aa毛片| 国产伦精品一区二区三区视频青涩| 亚洲不卡一区二区三区| 911国产精品| 欧美在线看片a免费观看| 成人永久看片免费视频天堂| 蜜臀精品久久久久久蜜臀 | 国内外成人在线| 免费高清视频精品| 美女精品自拍一二三四| 裸体健美xxxx欧美裸体表演| 日韩一区精品视频| 免费精品视频最新在线| 美腿丝袜亚洲一区| 国产伦精一区二区三区| 国产成人午夜高潮毛片| 国产99一区视频免费| 成人精品视频一区| 色视频一区二区| 色88888久久久久久影院按摩| 色香色香欲天天天影视综合网| 色哟哟在线观看一区二区三区| 91福利在线看| 日韩精品一区二区三区在线| 精品国内片67194| 精品国精品自拍自在线| 国产精品色哟哟| 亚洲在线视频网站| 久久99久久久久久久久久久| 精品亚洲aⅴ乱码一区二区三区| 国内偷窥港台综合视频在线播放| 成人性生交大片免费看视频在线| 99国产精品99久久久久久| 色妹子一区二区| 正在播放亚洲一区| 国产色婷婷亚洲99精品小说| 亚洲综合区在线| 秋霞午夜av一区二区三区| 国产大陆亚洲精品国产| 欧美图区在线视频| 日韩欧美黄色影院| 亚洲人成网站色在线观看| 美女免费视频一区| 欧美一a一片一级一片| 精品欧美一区二区三区精品久久 | 久久久久久**毛片大全| 一区二区三区精品在线| 国产呦萝稀缺另类资源| 欧美日韩亚洲不卡| 中文字幕综合网| 国产一区二区三区在线观看精品| 91在线视频官网| 2023国产精品视频| 亚洲成人动漫av| 91网站最新网址| 欧美国产一区二区| 麻豆91精品91久久久的内涵| 色视频欧美一区二区三区| 国产精品久久网站| 国产九色精品成人porny| 在线电影院国产精品| 一片黄亚洲嫩模| 一本久久精品一区二区| 亚洲三级在线观看| 亚洲日本在线观看| 另类小说视频一区二区| 色狠狠综合天天综合综合| www精品美女久久久tv| 午夜国产不卡在线观看视频| 成人午夜在线视频| 欧美成人a视频| 日韩—二三区免费观看av| 91福利资源站| 亚洲男人天堂一区| 成人av网站免费观看| 久久精品亚洲麻豆av一区二区| 日韩成人免费在线| 欧美精品久久天天躁| 一区二区不卡在线播放 | 91麻豆产精品久久久久久| 久久久久久久电影| 久久精品国产第一区二区三区| 欧美精品久久一区二区三区| 一区二区三区国产豹纹内裤在线| 国产69精品久久99不卡| 国产区在线观看成人精品| 国产91富婆露脸刺激对白| 中文字幕中文字幕中文字幕亚洲无线| 成人污视频在线观看| 国产女人水真多18毛片18精品视频| 免费人成在线不卡| 日韩三级视频在线观看| 国产一区二区视频在线| 久久久99精品久久| 国产激情视频一区二区在线观看| 日韩欧美国产一区在线观看| 国产乱对白刺激视频不卡| 国产精品乱人伦| av在线这里只有精品| 一区二区三区四区在线| 欧美三级三级三级爽爽爽| 日韩电影一区二区三区四区| 精品国产青草久久久久福利| 成人性生交大片免费看视频在线 | 天堂一区二区在线免费观看| 精品日产卡一卡二卡麻豆| 国产精品影视在线观看| 亚洲免费在线看| 日韩欧美色综合网站| 99久久久久久| 午夜视频在线观看一区二区三区| 日韩小视频在线观看专区| 国产不卡高清在线观看视频| 亚洲免费观看视频| 日韩欧美国产三级| 99精品视频一区二区三区| 日本中文在线一区| 国产精品麻豆网站| 日韩欧美成人一区二区| 91精彩视频在线| 精品一区二区三区欧美| 一区二区三区欧美日| 日韩一卡二卡三卡四卡| av在线不卡网| 国产在线精品免费| 香蕉成人啪国产精品视频综合网| 26uuu亚洲综合色| 欧美日韩一区在线观看| 国产精品1区二区.| 日本vs亚洲vs韩国一区三区| 国产精品欧美久久久久无广告 | 久久综合给合久久狠狠狠97色69| 91美女片黄在线| 国产精品1区二区.| 麻豆精品精品国产自在97香蕉| 亚洲视频免费观看| 久久久国产综合精品女国产盗摄| 欧美日本在线一区| 欧美中文字幕亚洲一区二区va在线| 成人app网站|