<del># yum remove mysql mysql-server
読み込んだプラグイン:fastestmirror, langpacks
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ MariaDB-client.x86_64 0:10.1.33-1.el7.centos を 削除
---> パッケージ MariaDB-server.x86_64 0:10.1.33-1.el7.centos を 削除
--> 依存性解決を終了しました。
依存性を解決しました
==================================================================================================================================================================================================================
Package アーキテクチャー バージョン リポジトリー 容量
==================================================================================================================================================================================================================
削除中:
MariaDB-client x86_64 10.1.33-1.el7.centos @mariadb 172 M
MariaDB-server x86_64 10.1.33-1.el7.centos @mariadb 450 M
トランザクションの要約
==================================================================================================================================================================================================================
削除 2 パッケージ
インストール容量: 622 M
上記の処理を行います。よろしいでしょうか? [y/N]y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
削除中 : MariaDB-server-10.1.33-1.el7.centos.x86_64 1/2
警告: /etc/my.cnf.d/server.cnf は /etc/my.cnf.d/server.cnf.rpmsave として保存されました。
削除中 : MariaDB-client-10.1.33-1.el7.centos.x86_64 2/2
検証中 : MariaDB-server-10.1.33-1.el7.centos.x86_64 1/2
検証中 : MariaDB-client-10.1.33-1.el7.centos.x86_64 2/2
削除しました:
MariaDB-client.x86_64 0:10.1.33-1.el7.centos MariaDB-server.x86_64 0:10.1.33-1.el7.centos
完了しました!
# cd /var/lib/mysql
# rm -R *
# yum install mysql mysql-server
読み込んだプラグイン:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* epel: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* remi-safe: ftp.riken.jp
* updates: ftp.iij.ad.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ MariaDB-client.x86_64 0:10.1.33-1.el7.centos を インストール
---> パッケージ MariaDB-server.x86_64 0:10.1.33-1.el7.centos を インストール
--> 依存性解決を終了しました。
依存性を解決しました
==================================================================================================================================================================================================================
Package アーキテクチャー バージョン リポジトリー 容量
==================================================================================================================================================================================================================
インストール中:
MariaDB-client x86_64 10.1.33-1.el7.centos mariadb 39 M
MariaDB-server x86_64 10.1.33-1.el7.centos mariadb 104 M
トランザクションの要約
==================================================================================================================================================================================================================
インストール 2 パッケージ
総ダウンロード容量: 143 M
インストール容量: 622 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): MariaDB-10.1.33-centos73-x86_64-client.rpm | 39 MB 00:00:28
(2/2): MariaDB-10.1.33-centos73-x86_64-server.rpm | 104 MB 00:00:44
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
合計 3.2 MB/s | 143 MB 00:00:44
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
インストール中 : MariaDB-client-10.1.33-1.el7.centos.x86_64 1/2
インストール中 : MariaDB-server-10.1.33-1.el7.centos.x86_64 2/2
2018-06-14 20:39:46 140526705314048 [Note] /usr/sbin/mysqld (mysqld 10.1.33-MariaDB) starting as process 10479 ...
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: The InnoDB memory heap is disabled
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Compressed tables use zlib 1.2.7
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Using Linux native AIO
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Using SSE crc32 instructions
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Completed initialization of buffer pool
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2018-06-14 20:39:46 140526705314048 [Warning] InnoDB: New log files created, LSN=45781
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Doublewrite buffer not found: creating new
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: Doublewrite buffer created
2018-06-14 20:39:46 140526705314048 [Note] InnoDB: 128 rollback segment(s) are active.
2018-06-14 20:39:46 140526705314048 [Warning] InnoDB: Creating foreign key constraint system tables.
2018-06-14 20:39:47 140526705314048 [Note] InnoDB: Foreign key constraint system tables created
2018-06-14 20:39:47 140526705314048 [Note] InnoDB: Creating tablespace and datafile system tables.
2018-06-14 20:39:47 140526705314048 [Note] InnoDB: Tablespace and datafile system tables created.
2018-06-14 20:39:47 140526705314048 [Note] InnoDB: Waiting for purge to start
2018-06-14 20:39:47 140526705314048 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.39-83.1 started; log sequence number 0
2018-06-14 20:39:47 140525919270656 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-06-14 20:39:50 140323583248640 [Note] /usr/sbin/mysqld (mysqld 10.1.33-MariaDB) starting as process 10510 ...
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: The InnoDB memory heap is disabled
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Compressed tables use zlib 1.2.7
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Using Linux native AIO
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Using SSE crc32 instructions
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Completed initialization of buffer pool
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Highest supported file format is Barracuda.
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: 128 rollback segment(s) are active.
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Waiting for purge to start
2018-06-14 20:39:50 140323583248640 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.39-83.1 started; log sequence number 1616697
2018-06-14 20:39:50 140322805901056 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-06-14 20:39:53 139656371382528 [Note] /usr/sbin/mysqld (mysqld 10.1.33-MariaDB) starting as process 10540 ...
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: The InnoDB memory heap is disabled
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Compressed tables use zlib 1.2.7
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Using Linux native AIO
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Using SSE crc32 instructions
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Completed initialization of buffer pool
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Highest supported file format is Barracuda.
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: 128 rollback segment(s) are active.
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Waiting for purge to start
2018-06-14 20:39:53 139656371382528 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.39-83.1 started; log sequence number 1616707
2018-06-14 20:39:53 139655584409344 [Note] InnoDB: Dumping buffer pool(s) not yet started
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h localhost.localdomain password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
検証中 : MariaDB-server-10.1.33-1.el7.centos.x86_64 1/2
検証中 : MariaDB-client-10.1.33-1.el7.centos.x86_64 2/2
インストール:
MariaDB-client.x86_64 0:10.1.33-1.el7.centos MariaDB-server.x86_64 0:10.1.33-1.el7.centos
完了しました!
# systemctl start mariadb
</del>