http://mozilla.com.cn/thread-352987-1-1.html http://mozilla.com.cn/thread-330960-1-1.html http://mozilla.com.cn/forum.php?mod=viewthread&tid=330960&pa ...
一、连接数据库: dsn := "root:123456@tcp(127.0.0.1:3306)/more?charset=utf8mb4&parseTime=True&loc=Local" db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{}) ...
分类:
数据库 时间:
2021-06-03 17:50:45
阅读次数:
0
#CentOS7的yum源中默认好像是没有mysql 1.1 下载mysql的repo源 cd /usr/local wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 1.2 安装mysql-community-r ...
分类:
数据库 时间:
2021-06-03 17:43:34
阅读次数:
0
#openwrt下挂载USB存储设备 openwrt下如果要挂载USB存储设备,需要以下步骤: 安装驱动和工具包 首先安装必需的内核驱动 kmod-usb-core kmod-usb-ehci kmod-usb-ohci kmod-usb2 kmod-usb-storage kmod-scsi-co ...
分类:
其他好文 时间:
2021-06-03 17:38:03
阅读次数:
0
6.1Java多线程抢票龟兔赛跑 多线程抢票,并发问题,数据安全异常 package iostudy.thread;?/** * 共享资源 * 一份资源,三个代理商 * 当一份资源有多个代理去操作的时候就会存在并发问题 * 并发发生之后后期需要保证线程安全 * @since JDK 1.8 * @d ...
分类:
编程语言 时间:
2021-06-02 20:27:35
阅读次数:
0
#ping whole local domainfor ip in {1..255};do ping -c 3 192.168.110.$ip >> ping.log;done grep '3 ttl' ping.log |awk '{print $4}' | sed 's\:\\g' |while ...
分类:
系统相关 时间:
2021-06-02 20:19:59
阅读次数:
0
启动nginx服务时如果遇到这个错误 Job for nginx.service failed because the control process exited with error code. See “systemctl stat 可能原因如下: 1.nginx配置文件有错误 运行下面命令查 ...
分类:
其他好文 时间:
2021-06-02 19:50:08
阅读次数:
0
spark连接mysql数据库 安装启动检查Mysql服务。netstat -tunlp (3306) spark 连接mysql驱动程序。 cd /usr/local/hive/lib ls mysql* cp mysql-connector-java-5.1.40-bin.jar /usr/lo ...
分类:
数据库 时间:
2021-06-02 19:08:19
阅读次数:
0
1.主节点线程状态(Replication Master Thread States): Finished reading one binlog; switching to next binlog 线程 已经完成读取 binlog 文件,并切换到下一个 binlog 文件 Master has se ...
分类:
数据库 时间:
2021-06-02 19:03:34
阅读次数:
0
1. 安装启动检查Mysql服务。##netstat -tunlp (3306) cd /usr/local/hive/lib ls mysql* cp mysql-connector-java-5.1.40-bin.jar /usr/local/spark/jars/ cd /usr/local/ ...
分类:
数据库 时间:
2021-06-02 19:00:44
阅读次数:
0