Simple Linux Panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mdserver-web/plugins/mysql
Mr Chen 5f42f37ee2 Update mysql.sql 12 months ago
..
bak Create orm.py 1 year ago
conf Update mysql.sql 12 months ago
init.d up 3 years ago
js Update mysql.js 12 months ago
lib up 2 years ago
scripts up 3 years ago
versions update 1 year ago
README.md 同步问题 12 months ago
ico.png 减小图片大小 6 years ago
index.html update 2 years ago
index.py Update index.py 12 months ago
index_mysql.py Update index_mysql.py 2 years ago
info.json Update info.json 1 year ago
install.sh update 12 months ago

README.md

show global  variables like '%gtid%';
show global  variables like 'server_uuid';
# 不锁表,需要删除原来数据表
# tables = db.query('show tables from `%s`' % sync_db_import)
# table_key = "Tables_in_" + sync_db_import
# for tname in tables:
#     drop_db_cmd = 'drop table if exists '+sync_db_import+'.'+tname[table_key]
#     # print(drop_db_cmd)
#     db.query(drop_db_cmd)