MySQL – Creating a Database and User

Creating a Database and User

Creating a Database and User
View the existing databases

Create a database

Create a user

Granting privileges

Granting privileges only on the created database

To allow connection from anywhere

Allowing connections from specific hosts, identified by their IP address or hostname