Westonci.ca offers quick and accurate answers to your questions. Join our community and get the insights you need today. Join our Q&A platform to get precise answers from experts in diverse fields and enhance your understanding. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

Write and execute a script that creates a user with a username using your firstname initial and lastname and password of your choosing. This user should be able to connect to MySQL from any computer.
This user should have SELECT, INSERT, UPDATE, and DELETE privileges for the Customers, Addresses, Orders, and Order_Items tables of the My Guitar Shop database.

However, this user should only have SELECT privileges for the Products and Categories tables. Also, this user should not have the right to grant privileges to other users.

Check the privileges for the user by using the SHOW GRANTS statement.

Sagot :