<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Windows on 瓶子裡的小狐狸</title>
    <link>https://szeching.com/tags/windows/</link>
    <description>Recent content in Windows on 瓶子裡的小狐狸</description>
    <generator>Hugo</generator>
    <language>zh-Hant</language>
    <lastBuildDate>Wed, 19 Feb 2025 17:01:48 +0800</lastBuildDate>
    <atom:link href="https://szeching.com/tags/windows/rss" rel="self" type="application/rss+xml" />
    <item>
      <title>修復 Docker Desktop for Windows 升級後的 WSL integration 錯誤</title>
      <link>https://szeching.com/fix-wsl-error-after-upgrading-docker-desktop-on-windows-10/</link>
      <pubDate>Wed, 19 Feb 2025 17:01:48 +0800</pubDate>
      <guid>https://szeching.com/fix-wsl-error-after-upgrading-docker-desktop-on-windows-10/</guid>
      <description>&lt;p&gt;Windows 10 上的 Docker Desktop 最近升級至 v4.38.0 後突然冒出了 WSL 錯誤。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;a class=&#34;paragraph-image&#34;&gt;&#xA;    &lt;img data-src=&#34;https://szeching.com/images/photo_2025-02-19_17-06-14.jpg&#34; data-action=&#34;zoom&#34; alt=&#34;Docker Desktop WSL integration with distro Legacy unexpectedly stopped&#34;  title=&#34;running wsl distro proxy in Legacy distro: running proxy: exit status 1&#34; class=&#34;lazyload&#34;&gt;&#xA;  &lt;/a&gt;&#xA;  &#xA;  &lt;figcaption class=&#34;image-caption&#34;&gt;running wsl distro proxy in Legacy distro: running proxy: exit status 1&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&lt;/p&gt;&#xA;&lt;p&gt;嘗試了 Restart the WSL integration 和 Skip Legacy WSL distro 都不行，問 AI 可能的原因是：&lt;/p&gt;</description>
    </item>
    <item>
      <title>解決 MySQL 升級 8.4 Docker 容器啟動問題</title>
      <link>https://szeching.com/fix-errors-on-mysql-docker-image-upgrade-to-8-4/</link>
      <pubDate>Fri, 14 Jun 2024 11:13:28 +0800</pubDate>
      <guid>https://szeching.com/fix-errors-on-mysql-docker-image-upgrade-to-8-4/</guid>
      <description>&lt;p&gt;Y Cheung 最近將系統中很久沒更新的 MySQL Docker Image更新到了最新的lts版本&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;，結果容器就起不來了，哭哭，一直不停重啟。&lt;/p&gt;&#xA;&lt;h2 id=&#34;修復-unknown-variable-default-authentication-plugin-錯誤&#34;&gt;修復 unknown variable default-authentication-plugin 錯誤&lt;a class=&#34;anchorjs-link&#34; href=&#34;#%e4%bf%ae%e5%be%a9-unknown-variable-default-authentication-plugin-%e9%8c%af%e8%aa%a4&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;查閱docker log信息發現：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-gdscript3&#34; data-lang=&#34;gdscript3&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&lt;/span&gt;&lt;span&gt;[Server] unknown variable &lt;span style=&#34;color:#f1fa8c&#34;&gt;&amp;#39;default-authentication-plugin=mysql_native_password&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#ff79c6&#34;&gt;.&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;啊，原來之前在MySQL升級到8的時候 &lt;a href=&#34;https://szeching.com/fix-laravel-connect-mysql-8-authentication-error/&#34;&gt;Y Cheung 曾寫過&lt;/a&gt;需要使用 &lt;code&gt;--default-authentication-plugin=mysql_native_password&lt;/code&gt; 這個參數將預設密碼加密方式改為&lt;code&gt;mysql_native_password&lt;/code&gt;，而現在MySQL升級到8.4後，這個參數也失效啦&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;，需要改成 &lt;code&gt;--mysql_native_password=ON&lt;/code&gt;。&lt;/p&gt;</description>
    </item>
    <item>
      <title>Win 10 讀取 Mac HFS&#43; 格式硬碟</title>
      <link>https://szeching.com/how-to-read-mac-formatted-drivers-on-windows-10/</link>
      <pubDate>Sun, 18 Apr 2021 12:29:53 +0000</pubDate>
      <guid>https://szeching.com/how-to-read-mac-formatted-drivers-on-windows-10/</guid>
      <description>&lt;p&gt;因需找出了多年不用的移動硬碟SSD，結果win 10 無法讀取！檢查了驅動什麼的都沒問題，也看到有這個硬碟了，就是不能正常加載出來，著急。&lt;/p&gt;&#xA;&lt;p&gt;原本還以為是TOSHIBA的問題，因為看到網上有說win 10更新後無法正常使用東芝硬碟的，但是那都是2018年的事情了啊，應該早修復了呀。&lt;/p&gt;</description>
    </item>
    <item>
      <title>解決Windows Docker 客戶端使用 Mariadb 官方image啟動報錯</title>
      <link>https://szeching.com/fix-mariadb-container-with-volumes-mapping-failing-to-start-on-windows/</link>
      <pubDate>Mon, 17 Sep 2018 14:03:32 +0000</pubDate>
      <guid>https://szeching.com/fix-mariadb-container-with-volumes-mapping-failing-to-start-on-windows/</guid>
      <description>&lt;p&gt;MariaDB Image使用的是當前最新的v10.3版本&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&lt;/span&gt;&lt;span&gt;docker pull mariadb:latest&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;docker-compose.yml文件內容：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yml&#34; data-lang=&#34;yml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 1&lt;/span&gt;&lt;span&gt;&lt;span style=&#34;color:#ff79c6&#34;&gt;version&lt;/span&gt;: &lt;span style=&#34;color:#f1fa8c&#34;&gt;&amp;#34;3&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 2&lt;/span&gt;&lt;span&gt;&lt;span style=&#34;color:#ff79c6&#34;&gt;services&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 3&lt;/span&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff79c6&#34;&gt;mariadb&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 4&lt;/span&gt;&lt;span&gt;    &lt;span style=&#34;color:#ff79c6&#34;&gt;image&lt;/span&gt;: mariadb&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 5&lt;/span&gt;&lt;span&gt;    &lt;span style=&#34;color:#ff79c6&#34;&gt;container_name&lt;/span&gt;: mariadb&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 6&lt;/span&gt;&lt;span&gt;    &lt;span style=&#34;color:#ff79c6&#34;&gt;restart&lt;/span&gt;: always&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 7&lt;/span&gt;&lt;span&gt;    &lt;span style=&#34;color:#ff79c6&#34;&gt;volumes&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 8&lt;/span&gt;&lt;span&gt;      - ${DATA_DIR}:/var/lib/mysql&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt; 9&lt;/span&gt;&lt;span&gt;    &lt;span style=&#34;color:#ff79c6&#34;&gt;ports&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;10&lt;/span&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f1fa8c&#34;&gt;&amp;#34;3306:3306&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;11&lt;/span&gt;&lt;span&gt;    &lt;span style=&#34;color:#ff79c6&#34;&gt;environment&lt;/span&gt;:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;12&lt;/span&gt;&lt;span&gt;      &lt;span style=&#34;color:#ff79c6&#34;&gt;MYSQL_ROOT_PASSWORD&lt;/span&gt;: password&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;13&lt;/span&gt;&lt;span&gt;      &lt;span style=&#34;color:#ff79c6&#34;&gt;MYSQL_DATABASE&lt;/span&gt;: public&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;.env 文件內容：&lt;/p&gt;</description>
    </item>
    <item>
      <title>Windows7安裝Android Studio報錯 ERROR1812</title>
      <link>https://szeching.com/android-studio-installation-error-unable-to-elevate-error1812/</link>
      <pubDate>Tue, 24 May 2016 14:22:48 +0000</pubDate>
      <guid>https://szeching.com/android-studio-installation-error-unable-to-elevate-error1812/</guid>
      <description>&lt;p&gt;在 Win7 上運行 Android Studio 安裝包的時候，一直報錯 &lt;code&gt;Unable to elevate[error:1812] &lt;/code&gt;&#xA;上網搜了一下，原來是windows兼容性問題orz&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;解決方案&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;p&gt;鼠標右擊，選擇 &lt;strong&gt;“兼容性疑難解答”&lt;/strong&gt;，選擇 &lt;strong&gt;“嘗試建議的設置”&lt;/strong&gt;，選擇啟動程序 ，然後一直點擊下一步就好了。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
