{"id":10103,"date":"2024-10-05T20:08:28","date_gmt":"2024-10-05T11:08:28","guid":{"rendered":"https:\/\/tsaitoh.net\/wp\/?p=10103"},"modified":"2024-10-05T20:25:48","modified_gmt":"2024-10-05T11:25:48","slug":"mariadb-error-log","status":"publish","type":"post","link":"https:\/\/tsaitoh.net\/wp\/2024\/10\/05\/mariadb-error-log\/","title":{"rendered":"mariadb \u306e\u30a8\u30e9\u30fc\u5bfe\u7b56"},"content":{"rendered":"<p>\u5225\u4ef6\u3067 \/var\/log\/syslog \u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u5927\u91cf\u306b\u51fa\u529b\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">2024-10-05T19:53:54.546148+09:00 xxxx mariadbd[1076]: 2024-10-05 19:53:54 3785 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'hist_type' at position 9 to have type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'), found type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB').\r\n2024-10-05T19:53:54.546217+09:00 xxxx mariadbd[1076]: 2024-10-05 19:53:54 3785 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255).\r\n<\/pre>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u30b0\u30b0\u308b\u3068\u3001\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u76f4\u308b\u3068\u306e\u3053\u3068\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">ALTER TABLE mysql.column_stats MODIFY histogram longblob;\r\nALTER TABLE mysql.column_stats MODIFY hist_type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB');\r\n<\/pre>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u5b9f\u884c\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\"># mariadb -u root\r\n:\r\nMariaDB [(none)]&gt; ALTER TABLE mysql.column_stats MODIFY histogram longblob;\r\nQuery OK, 0 rows affected (0.496 sec)\r\nRecords: 0  Duplicates: 0  Warnings: 0\r\nMariaDB [(none)]&gt; ALTER TABLE mysql.column_stats MODIFY hist_type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB');\r\nQuery OK, 0 rows affected (0.176 sec)\r\nRecords: 0  Duplicates: 0  Warnings: 0\r\n<\/pre>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u51fa\u306a\u304f\u306a\u3063\u305f\u3088\u3046\u3060\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5225\u4ef6\u3067 \/var\/log\/syslog \u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u5927\u91cf\u306b\u51fa\u529b\u3055\u308c\u3066\u3044\u308b\u3002 2024-10-05T19:53:54.546148+09:00 xxxx mariadbd[1076]: 2024-10-05 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,26,3,11],"tags":[528,527,116],"class_list":["post-10103","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux","category-t-saitoh","category-computer","tag-mariadb","tag-mysql","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/10103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/comments?post=10103"}],"version-history":[{"count":0,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/10103\/revisions"}],"wp:attachment":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/media?parent=10103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/categories?post=10103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/tags?post=10103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}