<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thebaker</author_name>
  <author_url>https://blog.hatena.ne.jp/thebaker/</author_url>
  <blog_title>thebakerのブログ</blog_title>
  <blog_url>https://thebaker.hatenablog.com/</blog_url>
  <categories>
    <anon>mariadb</anon>
    <anon>mysql</anon>
  </categories>
  <description>久々に謎な問題に出くわしました。MariaDBのバージョンは 10.6.12-1です。 mysqldumpで取ったバックアップをリストアしようとすると表題のエラーが… どうやら、テーブルがMyISAMで、UNIQUE KEY..USING HASHを使っていて、かつ、mysqldumpを取得する際に--disable-keysを指定（デフォルトで指定される）場合に発生するようです。 対策としては、--skip-disable-keysを指定するか（でもそうするとリストアが遅くなる）か、対象のテーブルの次の行を削除するのが良さそうです： /*!40000 ALTER TABLE `テーブル名` …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthebaker.hatenablog.com%2Fentry%2F2023%2F03%2F09%2F210344&quot; title=&quot;MariaDB: ERROR 1032 (HY000) at line xx: Can&amp;#39;t find record in  - thebakerのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-09 21:03:44</published>
  <title>MariaDB: ERROR 1032 (HY000) at line xx: Can't find record in </title>
  <type>rich</type>
  <url>https://thebaker.hatenablog.com/entry/2023/03/09/210344</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
