稷然如此

  • 首页
  • 文章分类
    • AI
    • Android
    • Java
    • Shell
    • Vue
    • C#
    • Python
    • 数据库
    • 组件
    • 其他
    • Game
  • 常用命令
    • Docker
    • Git
    • Linux
  • 操作系统
    • CentOS
    • Ubuntu
    • Windows
    • Kylin
  • 工具
    • IntelliJ IDEA
    • Visual Studio Code
MySql
CentOS

Docker 安装 Mysql

1、拉取镜像 docker pull mysql 2、运行容器 docker run -d --restart=always \ -p 3306:3306 \ -v /akim-boot/mysql/data:/var/lib/mysql \ -v /akim-boot/mysql/logs:/logs \ -v /akim-boot/mysql/conf:/etc/mysql/my.cnf \ -v /etc/localtime:/etc/localtime \ -e MYSQL_ROOT_PASSWORD=ab…

2024年7月29日 833点热度 0人点赞 Akim 阅读全文
数据库

Mysql 批量插入的正确姿势

SqlSession session = sqlSessionFactory.openSession(ExecutorType.BATCH); try {     SimpleTableMapper mapper = session.getMapper(SimpleTableMapper.class);     List<SimpleTableRecord> records = getRecordsToInsert(); // not shown       BatchInsert<SimpleT…

2023年9月11日 860点热度 0人点赞 Akim 阅读全文
CentOS

Linux 安装 Mysql 8+

注意: Kylin 是基于 CentOS 8 修改的,所以需要下载 Red Hat Enterprise Linux 8 / Oracle Linux 8 (x86, 64-bit), RPM Bundle 版本。 CentOS 7 就选 Red Hat Enterprise Linux 7 / Oracle Linux 7 (x86, 64-bit), RPM Bundle 官网下载地址:https://downloads.mysql.com/archives/community/ wget下载地址:wget h…

2023年8月1日 1163点热度 0人点赞 Akim 阅读全文
数据库

Windows 安装 MySql 8.0

https://downloads.mysql.com/archives/community/ 选择Windows(x86,64-bit),ZIP Archive,一般第一项或者这个https://cdn.mysql.com/archives/mysql-8.0/mysql-8.0.30-winx64.zip 这里D:\tools\mysql-8.0.30-winx64 MYSQL_HOME -> D:\tools\mysql-8.0.30-winx64 Path ->> %MYSQL_HOME%…

2023年7月11日 1037点热度 0人点赞 Akim 阅读全文

Akim

犇 骉
Java、C#、Python、Go、Android、MiniProgram、Bootstrap、Vue2

Copyright © 2025 aianran.com All Rights Reserved.

免责申明 | 隐私政策 | 服务条款 | 关于我们

黔ICP备2023008200号-1

贵公网安备 52010202003594号