Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 1.58 KB

mysql.md

File metadata and controls

64 lines (50 loc) · 1.58 KB

MySQL

Description

MySQL is an open-source relational database management system (RDBMS) widely used for web applications and data-driven solutions. Known for its speed, reliability, and ease of use, MySQL supports SQL for querying and managing data. With broad community support and compatibility across platforms, it is a popular choice for small projects, large-scale applications, and enterprise environments.


Index


Example

User

  • Create
CREATE USER 'debug'@'%' IDENTIFIED BY 'ABcd!@34';
GRANT ALL PRIVILEGES ON *.* TO 'debug'@'%';
FLUSH PRIVILEGES;
  • Delete
REVOKE ALL PRIVILEGES ON *.* FROM 'debug'@'%';
DROP USER 'debug'@'%';
FLUSH PRIVILEGES;
  • Password
ALTER USER 'username'@'%' IDENTIFIED BY 'new_password';
FLUSH PRIVILEGES;