Make changes to MySQL database permanent
commit(
makes changes to the database
connection conn
)conn
permanent, specifically any changes made since the last
commit
or rollback
function has been run. To use
the commit
function, you must set the AutoCommit
property of the connection
object to off
.