database Chrome 将其 SQLite 数据库保存到哪里?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8936878/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where does Chrome save its SQLite database to?
提问by vivianaranha
Google Chrome stores internal data such as browser history in a SQLite database; where is this saved to?
谷歌浏览器将浏览器历史等内部数据存储在 SQLite 数据库中;这是保存到哪里?
回答by Dan
Windows Vista or later:
Windows Vista 或更高版本:
C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\databases
Windows XP:
视窗 XP:
C:\Documents and Settings\%USERNAME%\Application Support\Google\Chrome\Default\databases
Windows 10:
视窗 10:
C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\History
Mac OS X (and macOS—sub-path changes between versions but are all under this main path):
Mac OS X(和 macOS——版本之间的子路径变化,但都在这个主路径下):
~/Library/Application Support/Google/Chrome/*
Linux:
Linux:
~/.config/google-chrome/Default/databases
回答by George Smith
Mac
苹果电脑
~/Library/Application Support/Google/Chrome/Default/databases
Here are they are organized by URL for every site you have accessed, except for Datbases.db and Datbases.db-hournal
以下是按您访问过的每个站点的 URL 组织的,但 Datbases.db 和 Datbases.db-hournal 除外

