ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

MySQL - Create, Delete User Accounts and Grant Privileges (create/drop user, grant, show grants)

Автор: Javid the Web Guy

Загружено: 2022-07-23

Просмотров: 703

Описание: MySQL has its own user accounts and security policies. Remember that most times “hackers” are only able to compromise a database using the privileges assigned to the compromised account.
#mysql #grants #privileges

CREATE USER ‘user’@’localhost’ IDENTIFIED BY ‘password’; – Create user with Password
DROP USER ‘user’@’localhost’ – Delete user
GRANT ‘permission’ on DATABASE.TABLE to ‘user@localhost’; – Grant privileges to user account
GRANT ALL PRIVILEGES ON . TO ‘user’@’localhost’; – Gives all permissions to ALL tables on ALL databases to user
GRANT ALL PRIVILEGES ON . TO ‘user’@’localhost’ WITH GRANT OPTION; – “with grant option” gives ability for account to give privileges to other accounts.
GRANT ‘permission'(column1,column2) on DATABASE.TABLE to user@localhost; – Grants privilege to columns in a table.
show grants; – shows privilege of current user
show grant for user; shows privilege for a specific user
select user, host from mysql.user; – display users and hosts for MySQL Server
REVOKE ‘privilege’ on DATABASE.TABLE FROM user@localhost;
mysql -u username -p – Login to MySQL from Linux
Privileges:

ALL PRIVILEGES – grants all privileges to the MySQL user
CREATE – allows the user to create databases and tables
DROP – allows the user to drop databases and tables
DELETE – allows the user to delete rows from specific MySQL table
INSERT – allows the user to insert rows into specific MySQL table
SELECT – allows the user to read the database
UPDATE – allows the user to update table rows
Full list of Privileges: https://dev.mysql.com/doc/refman/8.0/.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
MySQL - Create, Delete User Accounts and Grant Privileges (create/drop user, grant, show grants)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Deep Focus Radio - Музыка для кодирования и производительности

Deep Focus Radio - Музыка для кодирования и производительности

Understanding GD&T

Understanding GD&T

Вся база SQL для начинающих за 1 час

Вся база SQL для начинающих за 1 час

Mega Hits 2025 🌱 The Best Of Vocal Deep House Music Mix 2025 🌱 Summer Music Mix 2025 #4

Mega Hits 2025 🌱 The Best Of Vocal Deep House Music Mix 2025 🌱 Summer Music Mix 2025 #4

Арестович: Будет еще помощь? Итоги переговоров. Формула войны.

Арестович: Будет еще помощь? Итоги переговоров. Формула войны.

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

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

Kubernetes | ServiceAccount JWT Token Renew and Access API from Pod |  Practical Labs | Video-32

Kubernetes | ServiceAccount JWT Token Renew and Access API from Pod | Practical Labs | Video-32

Kubernetes Ingress Tutorial for Beginners | simply explained  | Kubernetes Tutorial 22

Kubernetes Ingress Tutorial for Beginners | simply explained | Kubernetes Tutorial 22

4 Hours Chopin for Studying, Concentration & Relaxation

4 Hours Chopin for Studying, Concentration & Relaxation

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]