見出し画像

WordPressの更新を行った際に”別の更新が現在進行中です。”エラーが出る。

[root@]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 1187
Server version: 10.5.4-MariaDB MariaDB Server
[(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| hana_db            |
| information_schema |
| mysql              |
| performance_schema |
| pras2020           |
+--------------------+
5 rows in set (0.000 sec)
MariaDB [(none)]> use pras2020
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [pras2020]> show tables;
+-----------------------+
| Tables_in_pras2020    |
+-----------------------+
| wp_commentmeta        |
| wp_comments           |
| wp_links              |
| wp_options            |
| wp_postmeta           |
| wp_posts              |
| wp_term_relationships |
| wp_term_taxonomy      |
| wp_termmeta           |
| wp_terms              |
| wp_usermeta           |
| wp_users              |
+-----------------------+
12 rows in set (0.000 sec)
MariaDB [pras2020]> select * from wp_options where option_name like 'core_updater%';
+-----------+-------------------+--------------+----------+
| option_id | option_name       | option_value | autoload |
+-----------+-------------------+--------------+----------+
|      2691 | core_updater.lock | 1604801123   | no       |
+-----------+-------------------+--------------+----------+
1 row in set (0.000 sec)
MariaDB [pras2020]> delete from wp_options where option_name like 'core_updater.lock';
Query OK, 1 row affected (0.001 sec)

この記事が気に入ったらサポートをしてみませんか?