摘要: GOROOT : SDK的安装路径(go安装在哪里) PATH:SDK的bin目录 GOPATH:GO项目的工作路径、工作目录 1、windows > PATH 计算机-属性-高级系统设置-系统环境变量 新建 GOROOT 变量值:D:\go 编辑 PATH 后面加 ;%GOROOT%\bin (% 阅读全文
posted @ 2023-01-16 11:22 Jiangqiang 阅读(77) 评论(0) 推荐(0) 编辑
摘要: [root@stag-8-46 0104]# mysql --socket=/tmp/mysql_sandbox20034.sock -umsandbox -p'msandbox' mysql: [Warning] Using a password on the command line inter 阅读全文
posted @ 2023-01-04 10:59 Jiangqiang 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 安装schema分每个文件导出 #!/bin/env bash DB_USER=dbxx DB_PASSWORD=dbxx BACKUP_DIR=/opt/mysql_bak/ for i in `/usr/local/mysql/bin/mysql -u$DB_USER -p$DB_PASSWOR 阅读全文
posted @ 2022-11-22 13:57 Jiangqiang 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 安装 yum install screen 常用命令 Use: screen [-opts] [cmd [args]] or: screen -r [host.tty] Options:-4 Resolve hostnames only to IPv4 addresses.-6 Resolve ho 阅读全文
posted @ 2022-11-22 11:36 Jiangqiang 阅读(34) 评论(0) 推荐(0) 编辑
摘要: $ curl -s https://raw.githubusercontent.com/datacharmer/dbdeployer/master/scripts/dbdeployer-install.sh | bash $ yun install base_completion $ dbdeplo 阅读全文
posted @ 2022-05-08 18:18 Jiangqiang 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 创建person表 mysql> create table person(id int auto_increment primary key,name varchar(100),age int); Query OK, 0 rows affected (0.12 sec) mysql> mysql> 阅读全文
posted @ 2022-05-04 09:19 Jiangqiang 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 数据;学生表,课程表,成绩表 DROP TABLE IF EXISTS `course`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 * 阅读全文
posted @ 2022-05-03 08:11 Jiangqiang 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 查看表结构; # mysql testReading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -A We 阅读全文
posted @ 2022-05-02 19:41 Jiangqiang 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 直接登录 # mongo MongoDB shell version v4.4.11connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodbImplicit session: se 阅读全文
posted @ 2022-05-02 12:42 Jiangqiang 阅读(2211) 评论(0) 推荐(0) 编辑