vallejo Posted August 15, 2016 Share Posted August 15, 2016 Me gustaría conocer la diferencia entre, miro el ultimo formato y dice share 1 y el otro 0 a q se refiere con eso? test_db = dbConnect( "mysql", "dbname=frank;host=1.2.3.4", "username", "password", "share=1" ) test_db = dbConnect( "sqlite", "file.db", "", "", "share=0" ) Link to comment
aka Blue Posted August 15, 2016 Share Posted August 15, 2016 Eso es para que otros se puedan hacer llamadas a la base de datos. which can be set to 0 or 1. (Default value for SQLite is "share=1", for MySQL is "share=0"). When set to 1, the connection is shared and will be used by other calls to dbConnect with the same host string. This is usually a good thing for SQLite connections, but not so good for MySQL unless care is taken. Link to comment
Recommended Posts