database connection

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Oct 7 04:16:40 EDT 2011


En Fri, 07 Oct 2011 02:18:04 -0300, masood shaik <masood.524 at gmail.com>  
escribió:

>  can u please tell me how we can connect to database without changing
> the permission of db file using sqlite3

The OS user who executes the Python script must have read (and write,  
usually) access to the database file - *any* OS user who can read the  
database file can connect to it.

sqlite does not have internal users, and does not implement GRANT/REVOKE  
statements.

-- 
Gabriel Genellina




More information about the Python-list mailing list