(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{685:function(t,i,s){"use strict";s.r(i);var e=s(12),a=Object(e.a)({},(function(){var t=this,i=t._self._c;return i("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[i("h1",{attrs:{id:"win10环境下安装sqlite3"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#win10环境下安装sqlite3"}},[t._v("#")]),t._v(" win10环境下安装Sqlite3")]),t._v(" "),i("p",[i("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/taixingyiji/image_store@main/blog/20210204100907.png",alt:"SQLite370.svg"}})]),t._v(" "),i("div",{staticClass:"custom-block tip"},[i("p",{staticClass:"custom-block-title"},[t._v("提示")]),t._v(" "),i("p",[t._v("由于框架多数据源采用sqlite3进行数据持久化")]),t._v(" "),i("p",[t._v("所以需要安装sqlite3")]),t._v(" "),i("p",[t._v("MacOS系统和Linux系统已经自带sqlite3可以跳过此部分")]),t._v(" "),i("p",[t._v("win10用户请按照步骤进行安装")])]),t._v(" "),i("h2",{attrs:{id:"一、下载sqlite"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#一、下载sqlite"}},[t._v("#")]),t._v(" 一、下载sqlite")]),t._v(" "),i("ol",[i("li",[t._v("打开官网"),i("a",{attrs:{href:"https://www.sqlite.org/download.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://www.sqlite.org/download.html"),i("OutboundLink")],1)]),t._v(" "),i("li",[t._v("下载"),i("strong",[t._v("sqlite3")]),t._v(" winodows版本，记得根据操作系统下载，32位或64位，且不管操作系统什么版本，都必须下载 "),i("code",[t._v("sqlite-tools-win32-x86-3340100.zip")])])]),t._v(" "),i("p",[i("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/taixingyiji/image_store@main/blog/20210204095852.png",alt:"image-20210204095852278"}})]),t._v(" "),i("h2",{attrs:{id:"二、解压"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#二、解压"}},[t._v("#")]),t._v(" 二、解压")]),t._v(" "),i("p",[t._v("解压下载好的文件，此处我用的是64位的包。")]),t._v(" "),i("p",[t._v("将 "),i("code",[t._v("sqlite-dll-win64-x64-3340100.zip")]),t._v(" 和 "),i("code",[t._v("sqlite-tools-win32-x86-3340100.zip")]),t._v(" 中的内容")]),t._v(" "),i("p",[t._v("复制到 "),i("code",[t._v("C:\\Program Files\\sqlite")]),t._v(" 中")]),t._v(" "),i("p",[i("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/taixingyiji/image_store@main/blog/20210204100252.png",alt:"image-20210204100251983"}})]),t._v(" "),i("h2",{attrs:{id:"三、配置环境变量"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#三、配置环境变量"}},[t._v("#")]),t._v(" 三、配置环境变量")]),t._v(" "),i("p",[t._v("打开系统环境变量，在 "),i("code",[t._v("PATH")]),t._v(" 变量下新增一条数据，填写 "),i("code",[t._v("C:\\Program Files\\sqlite")])]),t._v(" "),i("p",[i("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/taixingyiji/image_store@main/blog/20210204100417.png",alt:"image-20210204100417697"}})]),t._v(" "),i("h2",{attrs:{id:"四、校验是否安装成功"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#四、校验是否安装成功"}},[t._v("#")]),t._v(" 四、校验是否安装成功")]),t._v(" "),i("p",[t._v("打开系统命令提示符")]),t._v(" "),i("p",[t._v("输入 "),i("code",[t._v("sqlite3")])]),t._v(" "),i("p",[i("img",{attrs:{src:"https://cdn.jsdelivr.net/gh/taixingyiji/image_store@main/blog/20210204100525.png",alt:"image-20210204100525522"}})]),t._v(" "),i("p",[t._v("出现如上结果则说明安装成功")])])}),[],!1,null,null,null);i.default=a.exports}}]);