diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 6caac3be4..5d6f2b2ca 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -117,11 +117,11 @@ def pSqliteDb(dbname='databases'): conn.execute(csql_list[index], ()) else: # 现有run - conn = mw.M(dbname).dbPos(getServerDir(), name) - csql = mw.readFile(getPluginDir() + '/conf/mysql.sql') - csql_list = csql.split(';') - for index in range(len(csql_list)): - conn.execute(csql_list[index], ()) + # conn = mw.M(dbname).dbPos(getServerDir(), name) + # csql = mw.readFile(getPluginDir() + '/conf/mysql.sql') + # csql_list = csql.split(';') + # for index in range(len(csql_list)): + # conn.execute(csql_list[index], ()) conn = mw.M(dbname).dbPos(getServerDir(), name) return conn