1 Star 0 Fork 739

Evan / Lepus

forked from lyonzhi / Lepus
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
test_admin_mysql_purge_binlog.py 519 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!//bin/env python
# coding:utf-8
import pymysql
from admin_mysql_purge_binlog import admin_mysql_purge_binlog
import unittest
class TestAdminMysqlPurgeBinlog(unittest.TestCase):
def test_admin_mysql_purge_binlog(self):
admin_mysql_purge_binlog(host='127.0.0.1',
port=3306,
passwd='test123',
user='root',
binlog_store_days=7)
if __name__=='__main__':
unittest.main()
Python
1
https://gitee.com/likeshe/Lepus.git
git@gitee.com:likeshe/Lepus.git
likeshe
Lepus
Lepus
master

搜索帮助