###yum安装依赖包 yum -y install libaio ###下载mysql_8.x版本rpm包 wget http://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm ###安装mysql_yum源 yum local ...
分类:
数据库 时间:
2021-06-04 19:54:22
阅读次数:
0
Path '\react-native-safe-area-context\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory. 解决: 按照目录手动新建文件夹 ...
分类:
移动开发 时间:
2021-06-04 19:43:18
阅读次数:
0
wait和sleep的区别 相同:1.执行Sleep()方法和Waiting()方法都会释放运行权,即让出CPU 2.执行Sleep()方法和Waiting()方法都会让当前线程进入阻塞状态 不同点:1.wait只能在同步(synchronize)环境中被调用,而sleep没这个限制。2.进入wai ...
分类:
编程语言 时间:
2021-06-04 18:51:44
阅读次数:
0
import os with open('a.txt','wb') as fp; file = open('a.txt','w',encoding = 'utf-8') # w是覆盖并且重新写入 file.write('Python') # 文件的杜西呃怎么打印出来是个中文字符 # print(fi ...
分类:
其他好文 时间:
2021-06-04 18:48:35
阅读次数:
0
1、使用命令下载 curl -sS https://getcomposer.org/installer | php 2.下载之后设置环境变量 mv composer.phar /usr/local/bin/composer 3.修改权限,否则执行会出错 chmod -R 777 /usr/local ...
分类:
其他好文 时间:
2021-06-03 18:05:24
阅读次数:
0
一、连接数据库: 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
excel xlsxwriter XlsxWriter is a Python module that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 200 ...
分类:
编程语言 时间:
2021-06-02 20:53:25
阅读次数:
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
#变量 ##变量类型 SqlServer的变量分为两种,分别是用户自己定义的局部变量,用 “@” 开头的标识符表示。第二种是系统定义和维护的全局变量,用 “@@” 开头的标识符表示。 局部变量的作用范围为定义局部变量的批处理、存储过程、触发器或语句块,变量不能是 text、ntext 或 image ...
分类:
数据库 时间:
2021-06-02 20:10:46
阅读次数:
0