<?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/sql/</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Sat, 28 Nov 2026 02:06:01 +0800</lastBuildDate><atom:link href="https://magiclen.org/tag/sql/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>如何在 Linux 上使用 Oracle Instant Client？</title><link>https://magiclen.org/oracle-instant-client/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/12/network-3396348_1920-220x162.jpg" srcset="https://magiclen.org/wp-content/uploads/2022/12/network-3396348_1920-220x162.jpg 1x, https://magiclen.org/wp-content/uploads/2022/12/network-3396348_1920-440x324.jpg 2x, https://magiclen.org/wp-content/uploads/2022/12/network-3396348_1920-660x486.jpg 3x" alt>
想要連上 Oracle 資料庫，需要先安裝 Oracle 資料庫的客戶端程式在作業系統環境中。Oracle 資料庫的客戶端有分為「Oracle Client」和「Oracle Instant Client」兩種，前者是完整的 Oracle 資料庫的客戶端程式和工具，很大一包，需要進行安裝的動作；而後者則拆分出了多個函式庫和執行檔，直接從官網上下載下來解壓縮就可以使用。如果我們只是希望 Oracle...]]></description><category>Linux</category><category>軟體介紹</category><category>Linux</category><category>Oracle</category><category>SQL</category><category>資料庫</category><category>Docker</category><category>sqlplus</category><category>curl</category><guid>https://magiclen.org/oracle-instant-client</guid><pubDate>Tue, 20 Dec 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><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>使用 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>安裝 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><item><title>ContentCenter 簡單、易用、跨平台整合的內容中心</title><link>https://magiclen.org/contentcenter/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt>
從很早之前就很想要自己搞一個能夠重複使用的儲存架構，但是一直沒有什麼好靈感。直到開始接觸了 SQLite，發現它真的是一個小而輕巧的資料庫系統，甚至在移動平台（Android 和 iOS）中都有內建，才興起了用它當底層來製作儲存架構的念頭。]]></description><category>研究分享</category><category>Java</category><category>ContentCenter</category><category>SQL</category><category>SQLite</category><category>資料庫</category><guid>https://magiclen.org/contentcenter</guid><pubDate>Thu, 15 May 2014 14:00:50 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>