AIプログラムとかUnityゲーム開発について

探索や学習などを活用したAI系ゲームを作りたいと思います。

ServerManでmariaDB10にしようとするとエラーになる

今借りているSeverManのMariaDBは5.5だけど、10から全文検索できるらしいので、上げようと思った。

[MySQL] MariaDBを5から10にアップデートする – 端くれプログラマの備忘録

 上記を参考に入れてみると、

yum update MariaDB-server MariaDB-client

update中にエラーになる。

Error: systemd conflicts with initscripts-9.49.17-1.el7_0.1.x86_64

なにか衝突してる模様。ググる

yum updateでエラー「Error: systemd conflicts with initscripts」 - ex1-lab

同じエラーだ。

DTIの回答

お問い合わせの件につきまして、initscriptsのアップデートに起因する
問題につきましては、その後のバージョンでも問題が発生する事が報告
されております。

誠に恐縮ではございますが、本事象につきましては基本OSテンプレートから
アップデートされる為に発生する事象であり、yum updateに伴うパッケージ
アップデート後の各種パッケージについての動作保証をしていない事から、
事象解消の予定はございません。

がーん。
MariaDB10に上げる過程で、カーネルアップデートもされるらしい?

CentOS7 yum update 後、VPSサーバーにアクセスができなくなった- FAQ | 会員サポート:ユビキタスプロバイダ DTI


全文検索をしたいので、mroongaを入れるしかないのかも。
ただ、いまのmariaDBを削除して、ソースからコンパイルしなおしらしい。
せっかくphpMyAdmin入れてるのに動かなくなったらいやだな。
どうしよう?

Linux Blog » Mroongaのインストール
ここを参考にmroongaだけ追加で入れてみたら入った。mariadbは入れなおさずに済んだ模様。

MariaDB [(none)]> show engines;
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
| Engine             | Support | Comment                                                                    | Transactions | XA   | Savepoints |
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
| CSV                | YES     | CSV storage engine                                                         | NO           | NO   | NO         |
| MRG_MYISAM         | YES     | Collection of identical MyISAM tables                                      | NO           | NO   | NO         |
| MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables                  | NO           | NO   | NO         |
| BLACKHOLE          | YES     | /dev/null storage engine (anything you write to it disappears)             | NO           | NO   | NO         |
| MyISAM             | YES     | MyISAM storage engine                                                      | NO           | NO   | NO         |
| InnoDB             | DEFAULT | Percona-XtraDB, Supports transactions, row-level locking, and foreign keys | YES          | YES  | YES        |
| Mroonga            | YES     | CJK-ready fulltext search, column store                                    | NO           | NO   | NO         |
| FEDERATED          | YES     | FederatedX pluggable storage engine                                        | YES          | NO   | YES        |
| PERFORMANCE_SCHEMA | YES     | Performance Schema                                                         | NO           | NO   | NO         |
| Aria               | YES     | Crash-safe tables with MyISAM heritage                                     | NO           | NO   | NO         |
| ARCHIVE            | YES     | Archive storage engine                                                     | NO           | NO   | NO         |
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
11 rows in set (0.00 sec)