Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66e2fc3

Browse files
nearglestamparm
authored andcommitted
Add MySQL sys Schema in MYSQL_SYSTEM_DBS (#3443)
1 parent bdc4457 commit 66e2fc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231

232232
# DBMS system databases
233233
MSSQL_SYSTEM_DBS = ("Northwind", "master", "model", "msdb", "pubs", "tempdb")
234-
MYSQL_SYSTEM_DBS = ("information_schema", "mysql", "performance_schema")
234+
MYSQL_SYSTEM_DBS = ("information_schema", "mysql", "performance_schema", "sys")
235235
PGSQL_SYSTEM_DBS = ("information_schema", "pg_catalog", "pg_toast", "pgagent")
236236
ORACLE_SYSTEM_DBS = ('ANONYMOUS', 'APEX_030200', 'APEX_PUBLIC_USER', 'APPQOSSYS', 'BI', 'CTXSYS', 'DBSNMP', 'DIP', 'EXFSYS', 'FLOWS_%', 'FLOWS_FILES', 'HR', 'IX', 'LBACSYS', 'MDDATA', 'MDSYS', 'MGMT_VIEW', 'OC', 'OE', 'OLAPSYS', 'ORACLE_OCM', 'ORDDATA', 'ORDPLUGINS', 'ORDSYS', 'OUTLN', 'OWBSYS', 'PM', 'SCOTT', 'SH', 'SI_INFORMTN_SCHEMA', 'SPATIAL_CSW_ADMIN_USR', 'SPATIAL_WFS_ADMIN_USR', 'SYS', 'SYSMAN', 'SYSTEM', 'WKPROXY', 'WKSYS', 'WK_TEST', 'WMSYS', 'XDB', 'XS$NULL')
237237
SQLITE_SYSTEM_DBS = ("sqlite_master", "sqlite_temp_master")

0 commit comments

Comments
 (0)