Q1

Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@base) Requires: mariadb-server Removing: 1:mariadb-server-5.5.64-1.el7.x86_64 (@base) mariadb-server = 1:5.5.64-1.el7 Obsoleted By: mysql-community-server-5.6.50-2.el7.x86_64 (mysql56-community) Not found Updated By: 1:mariadb-server-5.5.65-1.el7.x86_64 (base)

  1. mariadb-server = 1:5.5.65-1.el7

You could try using —skip-broken to work around the problem

You could try running: rpm -Va —nofiles —nodigest

A1: 删除mariadb-libs (参考[1])

sudo yum -y remove mariadb-libs

Failed to open file ‘/var/lib/mysql-files/SQL4/MySQL-04-01.sql’, error: 13

  • SHOW VARIABLES LIKE ‘%secure%’;
  • sudo chown -R qi /var/lib/mysql-files/ ```sql mysql> source /var/lib/mysql-files/SQL4/MySQL-04-01.sql; Query OK, 1 row affected (0.01 sec)

Database changed Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.02 sec)

Query OK, 0 rows affected (0.01 sec)

``` 成功解决.

1
2