SeanSyue / gs-mysql

Sample SpringBoot with MySQL integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gs-mysql

Sample SpringBoot with MySQL integration

Command for connecting to database and creating a table

mysql> create database db_example; -- Create the new database
mysql> create user 'springuser'@'%' identified by 'ThePassword'; -- Creates the user
mysql> grant all on db_example.* to 'springuser'@'%'; -- Gives all the privileges to the new user on the newly created database

About

Sample SpringBoot with MySQL integration

License:GNU General Public License v3.0


Languages

Language:Java 100.0%