以下哪个Python代码片段用于创建一个SQLite数据库mydatabase连接?( )
'connection = sqlite3.connection("mydatabase.db")'
'connection = sqlite3.connect("mydatabase.db")'
'connection = sqlite3.open("mydatabase.db")'
'connection = sqlite3.connect("mydatabase.txt")'