mysql8.0.30的RPM包安裝方法
mysql8.0.30的RPM包安裝方法
1、RPM包的安裝順序如下:
rpm -ivh mysql-community-client-plugins-8.0.30-1.el7.x86_64.rpm
rpm -ivh mysql-community-common-8.0.30-1.el7.x86_64.rpm
yum remove mysql-libs
rpm -ivh mysql-community-libs-8.0.30-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-8.0.30-1.el7.x86_64.rpm
yum install openssl-libs
rpm -ivh mysql-community-icu-data-files-8.0.30-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-8.0.30-1.el7.x86_64.rpm
2、啟動
systemctl start mysqld
3、檢視初始密碼
more /var/log/mysqld.log
2022-09-22T03:52:03.704142Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.30) initializing of server in progress as process 44791
2022-09-22T03:52:03.713380Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-09-22T03:52:04.736016Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2022-09-22T03:52:05.733605Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: .O/axplLr9ei
2022-09-22T03:52:07.978819Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.30) starting as process 44838
2022-09-22T03:52:07.997204Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-09-22T03:52:08.612731Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2022-09-22T03:52:09.088371Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2022-09-22T03:52:09.088421Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2022-09-22T03:52:09.122718Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.30' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server
- GPL.
2022-09-22T03:52:09.123749Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
4、登入並修改初始密碼
mysql -uroot -p'.O/axplLr9ei'
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 8
Server version: 8.0.30
mysql> alter user root@localhost identified by 'xy_WQ123#';
Query OK, 0 rows affected (0.01 sec)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/543979/viewspace-2915753/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- centos以RPM包方式安裝redis的方法CentOSRedis
- yum如何解除安裝已安裝的rpm並安裝本地rpm包
- mysql安裝------RPM包安裝及解除安裝MySql
- RPM 包安裝報錯
- rpm包安裝和管理
- RPM包的安裝與升級
- rpm包安裝升級與解除安裝
- Postgresql Linux版本安裝——RPM包安裝SQLLinux
- linux 安裝ps需要先安裝的rpm包Linux
- RPM包安裝與介紹
- linux jdk rpm包安裝LinuxJDK
- XtraBackup 用rpm的安裝方法
- RPM應用——查詢(已安裝包和未安裝包)
- CentOS下使用rpm包安裝MySQLCentOSMySql
- mysql 5.6 for linux (rpm包安裝)MySqlLinux
- rpm包方式安裝Percona serverServer
- 強制安裝一個RPM包
- 在 Fedora 中安裝替代版本的 RPM 包
- centos(linux): rpm -V 驗證rpm包安裝程式的安全CentOSLinux
- linux怎樣檢視rpm安裝包的安裝路徑Linux
- redhat配置yum環境安裝rpm包Redhat
- 檢查RPM包是否已經安裝
- Greenplum_原始碼編譯安裝和RPM包安裝原始碼編譯
- (轉)CentOS 下 rpm包與 yum 安裝與解除安裝CentOS
- Linux RPM包安裝、解除安裝、升級命令講解Linux
- yum安裝軟體之後如何儲存rpm安裝包
- yum/dnf/rpm 等 檢視rpm 包安裝路徑 (fedora 中 pygtk 包內容安裝到哪裡了)
- Percona MySQL 5.6 RPM包方式安裝流程MySql
- rpm包 手工安裝OEM 12c agent
- rpm:虛擬包:空白包:欺騙包:do nothing包:滿足現有rpm包安裝依賴的要求
- 徹底解除安裝rpm軟體包的指令碼指令碼
- 基於Linux的MySQL5.7RPM包安裝LinuxMySql
- centos的軟體安裝方法rpm和yumCentOS
- rpm -e --nodeps 無法解除安裝的包怎樣解除安裝 ?
- Yum命令之僅下載rpm安裝包且不安裝
- Mysql 5.7在OL 6上以RPM包安裝MySql
- Gitlab環境快速部署(RPM包方式安裝)Gitlab
- CentOS7.4使用rpm包安裝mysql5.7.17CentOSMySql