Show navigation

Week 12 - User management & Permissions

This week we'll look at user management and permissions in MySQL, including the GRANT, SET and ALTER commands.

Alright, so you've been putting your heart and souls into your proposals, and you may be wondering… what are we learning today that needs to go in my final project?

The answer is… nothing. Today's lesson won't be necessary for building a database, which is what you're doing for your final assignment. What it will be helpful for, I believe, is when you need to connect to and manage the database(s) for websites in the future.

If you run the SHOW GRANTS command for a user with no privileges, the database will give you a response like this:

GRANT USAGE ON *.* TO '{userName}'@'{domain}'

GRANT USAGE sounds like you can use the database, doesn't it? Whelp it means the opposite. ¯\_(ツ)_/¯

Alright, so you've been putting your heart and souls into your proposals, and you may be wondering… what are we learning today that needs to go in my final project?The answer is… nothing. Today's lesson won't be necessary for building a database, which is what you're doing for your final assignment. What it will be helpful for, I believe, is when you need to connect to and manage the database(s) for websites in the future.