<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/tag/mysql/</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Thu, 3 Dec 2026 04:06:10 +0800</lastBuildDate><atom:link href="https://magiclen.org/tag/mysql/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何用 mysqlpump 來備份 MySQL？</title><link>https://magiclen.org/mysqlpump/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/07/data-carrier-1313000_1920-220x162.jpg" srcset="https://magiclen.org/wp-content/uploads/2022/07/data-carrier-1313000_1920-220x162.jpg 1x, https://magiclen.org/wp-content/uploads/2022/07/data-carrier-1313000_1920-440x324.jpg 2x, https://magiclen.org/wp-content/uploads/2022/07/data-carrier-1313000_1920-660x486.jpg 3x" alt>
「mysqlpump」是 MySQL 官方提供的指令工具，用來把 MySQL 內儲存的資料輸出成 SQL 格式的文字檔；「mysql」是 MySQL 官方提供的 SQL Shell 客戶端，可以用來執行 SQL 敘述。將「mysqlpump」和「mysql」搭配使用就可以備份與還原 MySQL。]]></description><category>Linux</category><category>網路相關</category><category>Linux</category><category>MySQL</category><category>RAR</category><category>SQL</category><category>資料庫</category><category>SSH Tunnel</category><category>備份</category><category>ss（指令）</category><guid>https://magiclen.org/mysqlpump</guid><pubDate>Tue, 13 Sep 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用 WordPress 架設自己的部落格</title><link>https://magiclen.org/wordpress-install/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/06/shot-09-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/06/shot-09-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/06/shot-09-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/06/shot-09-660x486.png 3x" alt>
想要架設一個網站在上面分享各式各樣的資訊或是記下生活的點點滴滴嗎？雖然現在不太流行了，但部落格在社群平台還沒開始火起來之前可是很多人在使用的，當年交換無名小站或痞客邦的帳號就像是現在互換 Facebook、Instagram 一樣，沒有部落格可就跟不上流行了。作為一款西元 2003 年就開始的免費 PHP 部落格程式，WordPress 時至今日已成為最受歡迎的網站內容管理系統(CMS, Cont...]]></description><category>Linux</category><category>網路相關</category><category>網站應用</category><category>Apache</category><category>Linux</category><category>LNAMP</category><category>MySQL</category><category>Nginx</category><category>PHP</category><category>WordPress</category><category>資料庫</category><category>部落格</category><guid>https://magiclen.org/wordpress-install</guid><pubDate>Tue, 5 Jul 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用 Ubuntu Server 架設 MySQL 伺服器，並於 PHP 程式中存取 MySQL 資料庫</title><link>https://magiclen.org/ubuntu-server-mysql-php/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2020/05/shot-49-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/05/shot-49-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/05/shot-49-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/05/shot-49-660x486.png 3x" alt>
MySQL 是一個開源的關聯式資料庫管理系統(Relational Database Management System, RDBMS)，適合用來架設網站。PHP 是一種適合用於網站開發的腳本式程式語言，彈性度高，可以直接被嵌入 HTML 文件中。]]></description><category>Linux</category><category>研究分享</category><category>網路相關</category><category>Linux</category><category>MySQL</category><category>PHP</category><category>phpMyAdmin</category><category>SQL</category><category>Ubuntu</category><category>Ubuntu Server</category><category>資料庫</category><category>ss（指令）</category><guid>https://magiclen.org/ubuntu-server-mysql-php</guid><pubDate>Tue, 25 Aug 2020 12:00:38 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>如何連線到遠端的 Linux + MySQL 伺服器？</title><link>https://magiclen.org/mysql-remote/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2020/03/shot-02-1-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/03/shot-02-1-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/03/shot-02-1-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/03/shot-02-1-660x486.png 3x" alt>
MySQL 預設並不允許遠端裝置的連線，而為了要能夠讓它允許遠端連線，就必須要進行一些額外的設定。]]></description><category>Linux</category><category>研究分享</category><category>網路相關</category><category>Linux</category><category>MySQL</category><category>SQL</category><category>資料庫</category><category>ss（指令）</category><guid>https://magiclen.org/mysql-remote</guid><pubDate>Thu, 21 May 2020 12:00:22 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>Rocket 入門指南 第十一章：測試</title><link>https://magiclen.org/rocket-testing/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/04/rust-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/04/rust-660x486.png 3x" alt>
Rocket 框架提供的測試架構十分簡單，只要產生出想要測試的 Rocket 實體，再將它提供給「local」模組下的「Client」結構體使用，Rocket 應用程式就能搖身一變，可以直接用寫程式的方式來發送請求和接收回應。]]></description><category>研究分享</category><category>Rust</category><category>MySQL</category><category>SQL</category><category>資料庫</category><category>Rust</category><category>Rocket</category><category>Rocket 入門指南</category><guid>https://magiclen.org/rocket-testing</guid><pubDate>Thu, 25 Jul 2019 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>Rocket 入門指南 第十章：資料庫的存取</title><link>https://magiclen.org/rocket-database/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/04/rust-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/04/rust-660x486.png 3x" alt>
Web 框架常會搭配資料庫一起使用，Rocket 框架當然也有一定程度的資料庫支援。雖然我們可以直接使用 Rocket 框架提供的應用程式狀態機制來註冊任意套件提供的資料庫實體，但是在程式撰寫上會比較麻煩一點，像是資料庫的位址、帳密等資訊，我們可能就必須要寫死在程式碼內，或是自己再另外開發出可以讓 Rocket 框架從外部讀取資料庫設定值的功能。Rocket 官方提供的「rocket_db_poo...]]></description><category>研究分享</category><category>Rust</category><category>MySQL</category><category>NoSQL</category><category>SQL</category><category>資料庫</category><category>Rust</category><category>Rocket</category><category>MongoDB</category><category>Rocket 入門指南</category><guid>https://magiclen.org/rocket-database</guid><pubDate>Tue, 23 Jul 2019 12:00:53 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>解決 phpMyAdmin 出現「The phpMyAdmin configuration storage is not completely configured...」的問題</title><link>https://magiclen.org/phpmyadmin-config/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2016/06/1-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/06/1-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/06/1-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/06/1-660x486.png 3x" alt>
剛安裝完 phpMyAdmin 後，使用 phpMyAdmin 登入管理資料庫時，卻看到 phpMyAdmin 出現「The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated.」訊息。這是因為 phpMyAdmin 需要使用額外的「p...]]></description><category>網路相關</category><category>MySQL</category><category>phpMyAdmin</category><category>SQL</category><category>資料庫</category><guid>https://magiclen.org/phpmyadmin-config</guid><pubDate>Sat, 18 Jun 2016 17:50:15 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>安裝 LNAMP Server + phpMyAdmin 在 Linux 系統上輕鬆架設網站</title><link>https://magiclen.org/lnamp/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/05/apache2-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/05/apache2-660x486.png 3x" alt>
LNAMP 是 Linux 系統上的開源架站組合，從名稱來看，「L」表示「Linux」作業系統，「N」表示「nginx」網頁伺服器，「A」表示「Apache」網頁伺服器，「M」表示「MySQL」資料庫，「P」表示「PHP」程式語言，而 phpMyAdmin 則是以 PHP 作為基礎的資料庫管理工具。使用效能較佳的 Nginx 來處理靜態檔案、反向代理、資源分配，搭配成熟的 Apache 來處理動態...]]></description><category>Linux</category><category>網路相關</category><category>Apache</category><category>LAMP</category><category>Linux</category><category>LNAMP</category><category>MySQL</category><category>Nginx</category><category>PHP</category><category>phpMyAdmin</category><category>SQL</category><category>資料庫</category><guid>https://magiclen.org/lnamp</guid><pubDate>Sat, 19 Mar 2016 09:59:15 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用 phpBB 架設自己的論壇（討論區）</title><link>https://magiclen.org/phpbb3-install/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/06/shot-15-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/06/shot-15-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/06/shot-15-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/06/shot-15-660x486.png 3x" alt>
想要架設一個網站讓很多人在上面交流資訊嗎？雖然現在不太流行了，但論壇網站（或稱討論區）在社群平台還沒開始火起來之前可是很多人在使用的。作為一款從西元 2000 年就開始的免費 PHP 論壇程式，phpBB 成熟穩定，而且十分輕巧，著重在論壇的基本功能上，沒有花裡胡哨的設計，它能夠讓使用者在數分鐘之內就建立好一個論壇網站，支援多種語言、外掛以及各式佈景來給使用者套用。就算使用者不會寫任何的程式，也可...]]></description><category>Linux</category><category>網路相關</category><category>網站應用</category><category>Apache</category><category>Linux</category><category>LNAMP</category><category>MySQL</category><category>Nginx</category><category>PHP</category><category>phpBB</category><category>論壇</category><category>資料庫</category><guid>https://magiclen.org/phpbb3-install</guid><pubDate>Thu, 19 Mar 2015 01:19:22 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>安裝 LAMP Server + phpMyAdmin 在 Linux 系統上輕鬆架設網站</title><link>https://magiclen.org/lamp/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/05/apache2-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/05/apache2-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/05/apache2-660x486.png 3x" alt>
LAMP 是 Linux 系統上的開源架站組合，從名稱來看，「L」表示「Linux」作業系統，「A」表示「Apache」網頁伺服器，「M」表示「MySQL」資料庫，「P」表示「PHP」程式語言，而 phpMyAdmin 則是以 PHP 作為基礎的資料庫管理工具。這篇文章將要介紹如何在 Ubuntu Server 上架設網站，選用 LAMP Server + phpMyAdmin。二十分鐘內，一個屬...]]></description><category>Linux</category><category>網路相關</category><category>Apache</category><category>LAMP</category><category>Linux</category><category>MySQL</category><category>PHP</category><category>phpMyAdmin</category><category>SQL</category><category>資料庫</category><guid>https://magiclen.org/lamp</guid><pubDate>Tue, 12 Aug 2014 05:05:08 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>