Connected to an idle instance:连接到空闲实例 原因:数据库或者监听没启动 ...
分类:
其他好文 时间:
2020-07-03 12:33:11
阅读次数:
46
排查流程: 1.使用ping命令,看网络是否联通。 2.使用netstat -nltp | grep 3306查看mysql服务是否正常开启。 3.再次检测一次Mysql的连接配置是否正确(用户名和密码是否正确,格式端口是否是整型,其他格式是否正确)。 4.以上都检测好了,但是连接过程中还是出现超时 ...
分类:
数据库 时间:
2020-07-03 01:17:18
阅读次数:
390
import paramiko client = paramiko.SSHClient() client.connect(serverIp, port=serverPort, username=serverUser) 报警告如下: paramiko\ecdsakey.py:164: Cryptogr ...
分类:
编程语言 时间:
2020-07-02 20:05:17
阅读次数:
120
1、准备工作:存在的mysql的数据库表、创建好的elasticsearch索引 2、下载mysql-connector 下载地址:https://dev.mysql.com/downloads/connector/j/ 选择 PlatForm Independent 下载后解压后得到connect ...
分类:
数据库 时间:
2020-07-02 20:00:27
阅读次数:
99
OutOfMemory(内存溢出异常OOM) java.lang.OutOfMemoryError :Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no ...
分类:
其他好文 时间:
2020-07-02 16:54:56
阅读次数:
65
全屏模式 Host (右边的 Ctrl) + F 无缝模式 Host (右边的 Ctrl) + L ...
分类:
其他好文 时间:
2020-07-02 16:23:29
阅读次数:
63
一、参考源码 <?php $localhost="localhost"; $root="root"; $password="123456"; $datebest="db_ku"; $conn=mysqli_connect($localhost,$root,$password,$datebest) o ...
分类:
数据库 时间:
2020-07-02 09:34:53
阅读次数:
105
在virtualenv创建的 2env虚拟环境中安装完 gunicorn-18.0,仍是没有gunicorn命令解决方法:在2env/bin/下创建文件gunicorn,文件内容如下:(2env) [root@x.x.x.x]# cat 2env/bin/gunicorn #!/xxxxxx/2en ...
分类:
其他好文 时间:
2020-07-01 18:45:11
阅读次数:
145
1.AMQP Messaging中的基本概念 Broker:接收和分发消息的应用,RabbitMQ Server就是Message Broker。Virtual Host:出于多租户和安全因素设计的,把AMQP的基本组件划分到一个虚拟的分组中,类似于网络中的Namespace概念。当多个不同的用户使 ...
分类:
其他好文 时间:
2020-07-01 15:57:34
阅读次数:
73
安装了react-redux后,npm start报下面错误 Failed to compile. ./node_modules/_react-redux@7.2.0@react-redux/es/connect/mapDispatchToProps.js Module not found: Can ...
分类:
其他好文 时间:
2020-07-01 14:19:25
阅读次数:
78