Blog

python tutorials and learn python

Created with Sketch.

How To Remove User Accounts Using MySQL DROP USER Statement

How To Remove User Accounts Using MySQL DROP USER Statement Summary: in this tutorial, you will learn how to use the MySQL DROP USER statement to remove one or more user accounts from the database. Introduction to MySQL DROP USER statement To remove a user account from the MySQL Server, you use the DROP USER…
Read more

MySQL SHOW GRANTS

MySQL SHOW GRANTS Summary: in this tutorial, you will learn how to use the MySQL SHOW GRANTS statement to display the privileges and roles assigned to an account user. Introduction to MySQL SHOW GRANTS statement The MySQL SHOW GRANTS statement returns all privileges and roles granted to an account user or role. Here is the…
Read more

The Ultimate Guide To MySQL Roles By Examples

The Ultimate Guide To MySQL Roles By Examples Summary: in this tutorial, you will learn how to use MySQL roles to simplify the privilege managements. Introduction to MySQL roles Typically, you have multiple users with the same set of privileges. Previously, the only way to grant and revoke privileges to multiple users is to change…
Read more

MySQL REVOKE

MySQL REVOKE Summary: in this tutorial, you will learn how to use MySQL REVOKE statement to revoke privileges from user accounts. Introduction to the MySQL REVOKE statement The REVOKE statement revokes one or more privileges from a user account. The REVOKE statement has several forms. Revoke one or more privileges The following illustrates the basic…
Read more

MySQL GRANT

MySQL GRANT Summary: in this tutorial, you will learn how to use the MySQL GRANT statement to grant privileges to user accounts. Introduction to the MySQL GRANT statement The CREATE USER statement creates one or more user accounts with no privileges. It means that the user accounts can log in to the MySQL Server, but…
Read more

How To Create User Accounts Using MySQL CREATE USER Statement

How To Create User Accounts Using MySQL CREATE USER Statement Summary: in this tutorial, you will learn how to use the MySQL CREATE USER statement to create a new user in the database server. MySQL CREATE USER syntax The CREATE USER statement creates a new user in the database server. Here is the basic syntax…
Read more

Restart MySQL Server

Restart MySQL Server Summary: in this tutorial, you will learn how to restart MySQL Server on Windows and Linux. Restart MySQL Server on Windows If MySQL installed as a Window service, you follow these steps to restart the MySQL Server: First, open the Run window by using the Windows+R keyboard. Second, type services.msc and press…
Read more

Stop MySQL Server

Stop MySQL Server Summary: in this tutorial, you will learn how to stop MySQL Server on Windows and Linux. Stop MySQL Server on Windows On Windows, you can stop MySQL Server using the program mysqladmin. The program mysqladmin locates in the folder <path_to_installation_dir>\bin, where path_to_installation_dir is the path to the installation directory e.g., C:\Program Files\MySQL\MySQL…
Read more

Start MySQL Server

Start MySQL Server Summary: in this tutorial, you will learn how to start MySQL Server on Windows and Linux. Start MySQL Server on Linux On Linux, you can start the server with the following commands using service, init.d, and systemd. Start MySQL Server using service sudo service mysql start Start MySQL Server using using init.d…
Read more

MySQL Administration

MySQL Administration In this section, you will find a lot of useful MySQL administration tutorials, including server startup and shutdown, user security, database maintenance, and backup &  restore. Section 1. Start, Stop, and Restart MySQL Server Start MySQL Server – show you how to start the MySQL Server on Windows and Linux. Stop MySQL Server…
Read more