sql
Longxinwu01
这个作者很懒,什么都没留下…
展开
-
【阿里云作为数据库服务器实践一】
远程连接阿里云服务器的mysql原创 2022-05-03 00:06:16 · 1318 阅读 · 0 评论 -
mysql相关各种命令
mysql操作相关命令创建相关操作相关 创建相关 创建数据库指定字符集和编码 CREATE DATABASE IF NOT EXISTS prod_db DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 查看数据库端口 show variables like 'port' 操作相关 ...原创 2021-07-22 11:33:08 · 51 阅读 · 0 评论 -
linux操作MySQL相关问题总结
项目场景: linux 操作mysql 执行mysql -u root -p xxxx 问题描述: 提示 commond not found 原因分析: root用户的/etc/profile或者当前用户的bash_profile没有配置mysql相关的命令 解决方案: 1. root用户(如果root用户配置了 则针对该机器所有用户生效) vim /etc/profile/ #添加 export PATH=$PATH:/usr/local/mysql/bin #并生效 source /et原创 2021-07-18 20:53:05 · 77 阅读 · 0 评论 -
idea整合mybatis-generator自动生成bean,xml
idea整合mybatis-generator1、pom文件配置2、mybatis-generator.xml文件 1、pom文件配置 <plugin> <!--Mybatis-generator插件,用于自动生成Mapper和POJO--> <groupId>org.mybatis.generator</groupId> <artifactId>myb原创 2021-05-24 17:09:54 · 294 阅读 · 0 评论