Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ If you want to insert fixtures to the cached database, use ``initdb_handler`` op

# create initial data on create as fixtures into the database
def handler(mysqld):
conn = psycopg2.connect(**mysqld.dsn())
conn = MySQLdb.connect(**mysqld.dsn())
cursor = conn.cursor()
cursor.execute("CREATE TABLE hello(id int, value varchar(256))")
cursor.execute("INSERT INTO hello values(1, 'hello'), (2, 'ciao')")
Expand Down