MySQL - What is a User Account and Predefined User Accounts in MySQL?

What is a User Account and Predefined User Accounts in MySQL?

A user account in MySQL is assigned a username and password to access MySQL databases. This user is also assigned some add on privileges like:

1. Insert data
2. Update data
3. Shutdown database etc
4. Restrictions to max connections that can be made and so on.

MySQL has one predefined user account “ROOT”. This account is created during installation without any password. Once installation finishes, a password is promoted. ROOT, by default has ALL privileges.
SELECT User, Password, Shutdown_priv, Create_priv
-> FROM user WHERE User = 'root';
MySQL - Explain how to add a new user account in MySQL
Explain how to add a new user account in MySQL - New users in MySQL can be added using the CREATE USER.....
MySQL - How to change the password for user account in MySQL
How to change the password for user account in MySQL - Password in MySQL can be changed using SET PASSWORD command.......
MySQL - What are user privileges in MySQL?
What are user privileges in MySQL? - Privileges in MySQL are used to restrict users accessing data objects and functions. Below are the commonly used......
Post your comment