【MySQL学习01】通过JDBC连接MySQL
sql 文件
CREATE DATABASE `jdbcStudy` CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `jdbcStudy`;
CREATE TABLE `users`(
`id` INT PRIMARY KEY,
`NAME` VARCHAR(40),
`PASSWORD` VARCHAR(40),
`email` VARCHAR(60),
birthday DATE
);
INSERT INTO `users`(`id`,`NAME`,`PASSWORD`,`email`,`birthday`)
VALUES(1,'Yoimiya','123456','[email protected]','2000-11-24'),
(2,'Xiao','123456','[email protected]','2000-10-24'),
(3,'Fischl','123456','[email protected]','2000-09-27')
下载JDBC所需jar包,my
共有 0 条评论