sqlite3中的用户名 [英] username in sqlite3
问题描述
我在linux机器上使用sqlite3,我得到没有用户名和密码的数据库。我可以设置一个用户名和密码吗?
I am using sqlite3 in a linux machine and I am getting the database without username and password. Can I set a username and password for the same?
推荐答案
不,sqlite3数据库是非常轻量级的系统。他们不需要服务器,所有数据都存储在一个文件中。 sqlite / sqlite3包不支持用户名/密码。
No, sqlite3 databases are very lightweight systems. They need no server and all data is stored in one file. A username/password is not supported by the sqlite/sqlite3 package.
为了实现简单,SQLite不得不牺牲其他特性一些人发现有用的,如高并发,细粒度访问控制,丰富的内置函数集,存储过程,深奥的SQL语言特性,XML和/或Java扩展,tera-或(
In order to achieve simplicity, SQLite has had to sacrifice other characteristics that some people find useful, such as high concurrency, fine-grained access control, a rich set of built-in functions, stored procedures, esoteric SQL language features, XML and/or Java extensions, tera- or peta-byte scalability, and so forth.
< htmlrel =noreferrer> sqlite,何时使用)
但是,由于它只是一个文件,您可以使用密码加密文件您的数据。
However, since it's only a file you can encrypt the file with a password to protect your data.
这篇关于sqlite3中的用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!