Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 303429b

Browse files
authored
Merge pull request #104 from datafold/issue102
Small fix for issue #102
2 parents ca00b32 + f3c0340 commit 303429b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_diff/databases/mysql.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def __init__(self, host, port, user, password, *, database, thread_count, **kw):
2929

3030
super().__init__(thread_count=thread_count)
3131

32-
self.default_schema = user
32+
# In MySQL schema and database are synonymous
33+
self.default_schema = database
3334

3435
def create_connection(self):
3536
mysql = import_mysql()

0 commit comments

Comments
 (0)