MySQL Database Create a User , Grant Permissions, Revoke Permissions and Drop a User

Поделиться
HTML-код
  • Опубликовано: 2 июл 2024
  • #mysql #mysql_workbench #mysqldba #mysqldb #database #databasesecurity #rdbms
    CREATE USER 'Shahid'@'localhost' IDENTIFIED BY 'admin';
    GRANT SELECT, CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT, REFERENCES, RELOAD on . TO 'Shahid'@'localhost';
    GRANT ALL ON . TO 'Shahid'@'localhost';
    GRANT ALL PRIVILEGES ON . TO 'Shahid'@'localhost' WITH GRANT OPTION;
    SHOW GRANTS FOR 'Shahid'@'localhost';
    FLUSH PRIVILEGES;
    REVOKE DELETE ON . FROM 'Shahid'@'localhost';
    SHOW GRANTS FOR 'Shahid'@'localhost';
    DROP USER 'Shahid'@'localhost';
    💡 Why Learn SQL?
    - It's the standard language for working with databases.
    - In-demand skill for developers, data scientists, and more.
    - MySQL is popular, open-source, and easy to learn.
    👉 This tutorial is perfect for you if:
    - You're completely new to SQL.
    - You want a practical, hands-on approach.
    - You work (or want to work) with data
    sql for beginners,sql tutorial for beginners,learn sql for beginners,sql tutorial,sql basics for beginners,mysql tutorial for beginners,sql database tutorial for beginners,sql full course for beginners,sql course for beginners,sql beginners,mysql tutorial,sql for beginners tutorial,sql tutorial for beginnners,sql joins tutorial for beginners,sql beginner tutorial,sql for beginners course,sql full tutorial for beginners,sql tutorial for beginners 2023

Комментарии • 1