用户名& sqlite3中的密码 [英] username & password in sqlite3

查看:369
本文介绍了用户名& 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-或PB级可伸缩性,依此类推。

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.

sqlite,何时使用

但是,由于它只是一个文件,因此可以使用密码对文件进行加密以保护您的数据。

However, since it's only a file you can encrypt the file with a password to protect your data.

这篇关于用户名& sqlite3中的密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆