- 博客(7)
- 收藏
- 关注
转载 Java连接数据库增加数据
import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.Scanner;public class Tzengjia { String userName; S...
2018-03-31 10:42:14 2890
转载 Java连接MySQL查询数据
import java.sql.Connection;import java.sql.DriverManager;import java.sql.ResultSet;import java.sql.SQLException;import java.sql.Statement;import java.util.Scanner;public class test { // TODO Auto-gen...
2018-03-29 14:34:05 6194 1
原创 git报错Authentication failed处理
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:masterfatal: Authentication failed for 'http://yeqihang@192.168.0.72:10101/r/ModuleMeeting.git/'Pushing to http://...
2018-03-27 13:49:56 7682
转载 MariaDB修改最大连接数——从机延迟同步主机数据
1.mariadb数据库最大连接数,默认为151MariaDB [(none)]> show variables like 'max_connections';+-----------------+-------+| Variable_name | Value |+-----------------+-------+| max_connections | 151 |+--------...
2018-03-19 14:29:38 5224
转载 CentOS7 防火墙常用命令
1、firewalld的基本使用查询防火墙状态:firewall-cmd --state关闭防火墙:systemctl stop firewalld.service禁止firewall开机启动:systemctl disable firewalld.service开启防火墙: systemctl start firewalld.service查看已开启的端口:firewall-cmd --list...
2018-03-12 14:46:36 249
原创 Mariadb安装远程连接报错解决方案
安装MariaDB: yum install mariadb mariadb-server systemctl start mariadb.service #启动MariaDB systemctl stop mariadb.service #停止MariaDB systemctl restart mariadb.service #重启MariaDB systemctl enable ma...
2018-03-08 19:36:54 1587
转载 关闭selinux服务
多数情况下是因为没有专业运维,或者运维懒。。。除了我这么无聊的人,应该不会有多少非专职运维去读那个麻烦死的SELinux文档->_->其实多数情况下你们的东西运行不了只要一个关闭SELinux就可以搞定->_->首先我们可以用命令来查看selinux的状态getenforce 这个命令可以查看到selinux的状态,当前可以看到是关闭状态的。还有一个命令也可以查看出se...
2018-03-08 19:31:21 391
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人