<?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/cn/tag/sql/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 18:52:59 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/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/cn/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 数据库的客户端程序和工具，很大一包，需要进行安装的动作；而后者则拆分出了多个函数库和可执行文件，直接从官网上下载下来解压缩就可以使用。如果我们只是希望 Orac...]]></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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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_pool...]]></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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/contentcenter</guid><pubDate>Thu, 15 May 2014 14:00:50 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>