<?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/database/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 18:46:21 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/database/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>如何用 mongodump 来备份 MongoDB？</title><link>https://magiclen.org/cn/mongodump/</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>
「mongodump」是 MongoDB 官方提供的指令工具，用来输出 MongoDB 内保存的数据；「mongorestore」也是 MongoDB 官方提供的指令工具，用来将「mongodump」所输出的数据，输入回 MongoDB 内。将「mongodump」和「mongorestore」搭配使用就可以备份与还原 MongoDB。]]></description><category>Linux</category><category>网络相关</category><category>Linux</category><category>RAR</category><category>数据库</category><category>MongoDB</category><category>SSH Tunnel</category><category>备份</category><category>ss（指令）</category><guid>https://magiclen.org/cn/mongodump</guid><pubDate>Thu, 8 Sep 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用 WordPress 架设自己的博客</title><link>https://magiclen.org/cn/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, Content...]]></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/cn/wordpress-install</guid><pubDate>Tue, 5 Jul 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>Docker Compose 的基本使用方式</title><link>https://magiclen.org/cn/docker-compose/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2022/05/docker-compose-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/05/docker-compose-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/05/docker-compose-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/05/docker-compose-660x486.png 3x" alt>
一个服务或是一个应用程序可能会需要依赖其它的一个或多个服务才能正常运行，所以为了省下 Docker 容器得一个一个按照顺序用指令开起来的麻烦以及减少在这个过程中发生错误的概率，Docker Compose 允许把这些相关联的容器撰写在一个设置文件内，只要经过一个简单的指令就可以一同启动或是停止。]]></description><category>研究分享</category><category>网络相关</category><category>软件介绍</category><category>JavaScript</category><category>Linux</category><category>NoSQL</category><category>数据库</category><category>Docker</category><category>MongoDB</category><category>TypeScript</category><category>syslog</category><category>虚拟化</category><guid>https://magiclen.org/cn/docker-compose</guid><pubDate>Thu, 30 Jun 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>使用 Ubuntu Server 架设 Redis 服务器，并于 PHP 程序中访问 Redis 数据库</title><link>https://magiclen.org/cn/ubuntu-server-redis-php/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2020/10/shot-16-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/10/shot-16-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/10/shot-16-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/10/shot-16-660x486.png 3x" alt>
Redis 是一个开源的 NoSQL 数据库，以一个 key 对应一个 value 的方式并配合内存(RAM)来保存数据，性能要比关系数据库还要好很多，可以在许多编程语言上使用。Redis 的 value 除了字符串(string)型态之外，另外还有几种比较特殊的结构，包括 set、zset、list 和 hash，并提供了多种方式来操作这些字段。]]></description><category>Linux</category><category>研究分享</category><category>网络相关</category><category>Linux</category><category>NoSQL</category><category>phpRedisAdmin</category><category>Redis</category><category>Ubuntu</category><category>Ubuntu Server</category><category>数据库</category><category>ss（指令）</category><category>curl</category><guid>https://magiclen.org/cn/ubuntu-server-redis-php</guid><pubDate>Thu, 22 Oct 2020 12:00:24 +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>如何连接到远程的 Linux + MongoDB 服务器？</title><link>https://magiclen.org/cn/mongodb-remote/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2020/03/shot-02-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/03/shot-02-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/03/shot-02-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/03/shot-02-660x486.png 3x" alt>
MongoDB 预设并不允许远程设备的连接，而为了要能够让它允许远程连接，就必须要进行一些额外的设置。]]></description><category>Linux</category><category>研究分享</category><category>网络相关</category><category>Linux</category><category>NoSQL</category><category>数据库</category><category>MongoDB</category><category>ss（指令）</category><guid>https://magiclen.org/cn/mongodb-remote</guid><pubDate>Tue, 7 Apr 2020 12:00:55 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>如何用 Rocket 框架来回应并下载 MongoDB 的文件中心里的文件？</title><link>https://magiclen.org/cn/rocket-mongo-file-center-download-response/</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 框架直接回应 MongoDB 文件中心里的文件的方法。如果想要让网页浏览器在收到服务器传来的文件数据时，将其下载成文件的话，可以参考这篇文章。]]></description><category>Rust</category><category>NoSQL</category><category>数据库</category><category>Rust</category><category>Rocket</category><category>MongoDB</category><category>mongo-file-center</category><category>rocket-mongo-file-center-download-response</category><guid>https://magiclen.org/cn/rocket-mongo-file-center-download-response</guid><pubDate>Sun, 25 Aug 2019 04:00:29 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>