[置顶] Linux中mysql进入命令行报错:MYSQL ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.99.192' (111)

摘要: 场景:在Linux中安装mysql01和mysql02,通过VIP虚出一个VIP=192.168.99.192,mysql01为主ip为192.168.99.153,mysql02为备机ip为192.168.99.154 此时VIP在mysql01上通过 mysql01上连接VIP :mysql - 阅读全文

posted @ 2018-09-17 13:36 lalala1_23 阅读(416) 评论(0) 推荐(0) 编辑

2019年1月5日

我的python之旅-DAY2

摘要: 列表 1. 创建列表:列表使用中括号作为标识 (1)创建普通列表:此列表中的元素都是同一种类型 eg: member1 = [1, 2, 3, 4, 5] member2 = [ "春天", "夏天", "冬天", "秋天"] (2)创建混合型列表:列表中元素可以是数字,字符串,列表 eg: mem 阅读全文

posted @ 2019-01-05 10:55 lalala1_23 阅读(118) 评论(0) 推荐(0) 编辑

2019年1月4日

我的Python学习之旅-DAY1

摘要: 1. 我编写的第一个程序:猜数字 需求:猜1-10之间的随机数字,如果猜对了!游戏技术,如果猜错了,继续猜!最多猜三次 语法点: 1. # import random :引入外部模块,生成随机数,常用的语法有如下几种: random.randint(1, 10) #生成1-10之间的随机整数 ran 阅读全文

posted @ 2019-01-04 10:51 lalala1_23 阅读(155) 评论(0) 推荐(0) 编辑

2018年9月18日

mysql启动的是时候报Starting MySQL...... ERROR! The server quit without updating PID file (/usr/local/mysql/data/VM13.pid).

摘要: 场景:启动mysql的时候,会在控制台上打印Starting MySQL...... ERROR! The server quit without updating PID file (/usr/local/mysql/data/VM13.pid). 分析问题一:百度了一下是说/usr/local/ 阅读全文

posted @ 2018-09-18 10:46 lalala1_23 阅读(219) 评论(0) 推荐(0) 编辑

2018年9月17日

Linux中使用yum安装的时候一直报错:Loaded plugins: fastestmirror Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host:

摘要: 场景:Linux中使用域名安装软件的时候一直报错: Loaded plugins: fastestmirrorCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra 阅读全文

posted @ 2018-09-17 18:01 lalala1_23 阅读(437) 评论(0) 推荐(0) 编辑

linux中解决bash脚本执行提示/bin/sh^M: bad interpreter错误

摘要: 场景:Linux中启动启动脚本的时候报 /etc/init.d/umpctrl: /opt/ump/scripts/start.sh: /bin/sh^M: bad interpreter: No such file or directory 分析问题:进入/opt/ump/scripts/目录中使 阅读全文

posted @ 2018-09-17 14:02 lalala1_23 阅读(588) 评论(0) 推荐(0) 编辑

导航