
MySQL
GJXAIOU
博客更新较为缓慢,可以直接访问GitHub:https://github.com/GJXAIOU
展开
-
Windows中使用cmd连接MySQL
– 文章待补充。。。 一、安装MySQL 二、将安装路径添加进环境变量 三、使用cmd连接MySQL原创 2019-03-01 15:29:46 · 577 阅读 · 0 评论 -
MySQL基本操作
注:以下练习使用的windows的cmd 章一:基础知识 一、基础知识: 1.数据库的连接 mysql -u -p -h 注:-u 用户名 -p 密码 -h host主机 示例:mysql -u用户名 -p密码 2:库级知识 库是不可以改名的 2.1 显示数据库: show databases; 2.2 选择数据库: use 数据库名; 2.3 创建数据库: create database 数...原创 2019-03-01 19:54:09 · 133 阅读 · 0 评论 -
MySQL报错:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time z
语句为:String url = "jdbc:mysql://localhost:3306/day34jdbc"; 程序报错如下: java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must confi...原创 2019-08-01 15:00:57 · 169 阅读 · 0 评论 -
MySQL报错:Loading class `com.mysql.jdbc.Driver' 和Establishing SSL connection without server's identity
错误一: 代码为:Class.forName("com.mysql.jdbc.Driver"); Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered...原创 2019-08-01 15:08:20 · 209 阅读 · 0 评论