原因:未开启mysql服务器 手动开启:windows下启动cmd,在命令行下输入services.msc命令,打开服务程序,找到mysql程序,手动启动 命令行开启:net start mysql 服务名称被修改过,导致命令行无法开启 ...
分类:
数据库 时间:
2021-02-20 11:56:03
阅读次数:
0
jdbc连接MySql数据库 package com.zhy; import com.mysql.jdbc.Driver; import java.sql.*; /** * @author ZHY * @data 2021/2/15 */ public class TestJdbc { public ...
分类:
数据库 时间:
2021-02-18 12:57:47
阅读次数:
0
问题描述 # python3.7 /tmp/demo.py Traceback (most recent call last): File "/tmp/demo.py", line 4, in <module> driver = webdriver.Chrome('/srv/sharing/pack ...
分类:
其他好文 时间:
2021-02-15 12:38:15
阅读次数:
0
使用mysql二进制方式连接 mysql -u root -p 使用PHP脚本连接MySQL mysqli_connect(host,name,password,dbname,port,socket); host 规定主机或IP地址 username 规定MySQL用户名 password 规定My ...
分类:
数据库 时间:
2021-02-15 12:08:49
阅读次数:
0
解题: 出题界面: 【每一次打开都会出现不同的结果】 解决: Windows CMD 命令行运行即可! curl -v -X CTFHUB http://challenge-d8eeddbeb7a64576.sandbox.ctfhub.com:10080/index.php 知识点一:Curl命令 ...
分类:
Web程序 时间:
2021-02-10 13:17:07
阅读次数:
0
客户端,client.js const net = require('net') const socket = new net.Socket({}) const TestArr = [1,2, 3, 4] socket.connect({ host: '127.0.0.1', port: 4000 ...
分类:
其他好文 时间:
2021-02-09 12:13:22
阅读次数:
0
Jenkins 部署项目出现 Failed to connect to repository : Command "git ls-remote XXX 表示为,Jerkins无法连接到你输入的Repository URL的 Git仓库…… 怎么办呢? 试了很多方法: 1、在git仓库里面配置公钥、在 ...
分类:
其他好文 时间:
2021-02-08 12:50:48
阅读次数:
0
高手请略过。 在Ubuntu中,可以通过nautilus的Other Locations-Connect to Server来连接到其他机器,并以图形化方式浏览远程机器上的文件。这种方式下,进行文件传输也非常方便。 但是链接过程中如果需要使用密钥文件,这种方式好像就不行了(如果有知道的小伙伴,请留言 ...
分类:
系统相关 时间:
2021-02-06 11:39:58
阅读次数:
0
zookeeper.properties # the directory where the snapshot is stored. dataDir=/tmp/zookeeper # the port at which the clients will connect clientPort=2181 ...
分类:
其他好文 时间:
2021-02-04 12:14:03
阅读次数:
0
多进程server端实现: import socket from multiprocessing import Process def func(conn): ''' 没调用一次func创建一个新进程 :param conn: :return: ''' try: #持续对话 while 1: dat ...
分类:
系统相关 时间:
2021-02-04 11:43:52
阅读次数:
0