source 绝对路径.sql(绝对路径是对应数据库版本包下的) source时是有先后顺序的必须是create 在insert 在 下面是链接,上面是把数据导入到数据库中,数据也可以自己写进去. 配置 properties ->database.properties 的信息: 先说username和password这两个,这是你设置的数据库中的一个数据库管理员,创建语句: grant select, insert, update, delete on onlinebookstore.* to…