摘要:
MySQL连接数据库 #!/usr/bin/python # -*- coding: UTF-8 -*- import pymysql # 打开数据库连接 db = pymysql.connect("111.230.43.239","root","password","RUNBOO" ) # 使用c 阅读全文
摘要:
http://www.dbhelp.net/2017/01/06/pxc-5-7-14-%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2-pxc-install.html PXC是Percona XtraDB Cluster的缩写,是一种具有高可用性和高扩展性的MySQL开源 阅读全文
摘要:
http://blog.51cto.com/hj192837/1546149 You should have odd number of real nodes. node #1hostname: percona1IP: 192.168.70.71node #2hostname: percona2IP 阅读全文
摘要:
Meow!Meow!Woof!Woof! 阅读全文
摘要:
> 2018.zipFirst_ProjectFirst_project.py__pycache__configparser生成模块写.pyconfigparser读.pycs play.pyday.pyday1.pydeconator7.pydecorator.pydecorator1.pydec 阅读全文
摘要:
Alex just bought AK47Alex:ah....,I got shot...name:Alex weapon:AK47 life_val:50Nonejack:ah....,I got shot... 阅读全文
摘要:
OrderedDict([('serveraliveinterval', '45'), ('compression', 'yes'), ('compressionlevel', '9'), ('forwardx11', 'yes')])hg 阅读全文
摘要:
info of Teacher:boy Name:boy Age:56 Sex:MF Salary:200000 Course:Linux info of Student:Morgan Name:Morgan Age:23 Sex:MF stu_id:1001 stu_id:PythonDevOps 阅读全文
摘要:
#-*-coding:utf-8-*-__author__ = "logan.xu"#多继承#class People: 经典类class People(object): #新式类的多继承的方式有变化 def __init__(self,name,age): self.name = name sel 阅读全文
摘要:
#-*-coding:utf-8-*-__author__ = "logan.xu"class People: def __init__(self,name,age): self.name = name self.age = age def eat(self): print("%s is eatin 阅读全文