macOS - 安装使用 SQLite


文章目录


关于 SQLite


安装

https://formulae.brew.sh/formula/sqlite

shell 复制代码
brew install sqlite

包被安装在了:/usr/local/Cellar/sqlite/3.43.0_1


查看已安装版本信息

shell 复制代码
$ brew info sqlite
==> sqlite: stable 3.43.0 (bottled) [keg-only]
...

使用

在终端进入交互模式:

shell 复制代码
$ sqlite3
SQLite version 3.40.1 2022-12-28 14:03:47
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> 
...
sqlite> .exit  # 退出

常见操作:

https://www.runoob.com/sqlite/sqlite-tutorial.html


伊织 2023-09-06(三)

相关推荐
Keanu-6 分钟前
Redis 主从复制及哨兵模式配置
服务器·数据库·redis
blues925720 分钟前
【JOIN】关键字在MySql中的详细使用
数据库·mysql
x-cmd34 分钟前
[260307] x-cmd v0.8.6:新增 gpt-5.4 模型支持,sudo/os/hostname/cpu 等模块文档更新
java·数据库·gpt·sudo·x-cmd·googel
JuneXcy43 分钟前
第10章 数据库的安全与保护
数据库·mysql
liqianpin11 小时前
完美解决phpstudy安装后mysql无法启动
数据库·mysql
小Tomkk1 小时前
化繁为简:Access 与 SQL 创新指南(第四篇)
数据库·sql
cyber_两只龙宝1 小时前
【MySQL】MySQL主从复制架构
linux·运维·数据库·mysql·云原生·架构
D.不吃西红柿1 小时前
【无标题】
数据库·database·ai编程·数据库设计
Dylan~~~2 小时前
PostgreSQL 数据库性能问题定位完全指南
数据库·postgresql
原来是猿2 小时前
MySQL数据库基础
数据库