Closed HuiGuoGuo closed 5 years ago
项目用的是JPA框架,启动前创建数据库,启动后表会自动创建的。 以下建库语句可供参考:
CREATE DATABASE IF NOT EXISTS oauth2_server DEFAULT CHARSET utf8 COLLATE utf8_general_ci; grant all privileges on oauth2_server.* to oauth2_server@localhost identified by 'password_dev';
没有后续反馈,暂时关闭
项目用的是JPA框架,启动前创建数据库,启动后表会自动创建的。 以下建库语句可供参考:
创建数据库SQL:数据库名、数据库用户名、数据库密码需要和application.properties中的一致
CREATE DATABASE IF NOT EXISTS oauth2_server DEFAULT CHARSET utf8 COLLATE utf8_general_ci; grant all privileges on oauth2_server.* to oauth2_server@localhost identified by 'password_dev';