mysqlcommands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mysqlcommands [2019/02/08 10:35] – [Passwords and User Accounts] z0hpvk | mysqlcommands [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| show status like ' | show status like ' | ||
| show variables like ' | show variables like ' | ||
| + | |||
| + | show engine innodb status\G | ||
| + | show processlist; | ||
| + | show open tables; | ||
| + | status; | ||
| + | |||
| + | set persist max_connection = 1000; (Like ALTER SYSTEM scope=BOTH) | ||
| + | set persist_only max_connection = 1000; (Like ALTER SYSTEM scope=SPFILE) | ||
| + | set global slow_query_log = ON; (Like ALTER SYSTEM scope=MEMORY) | ||
| + | set session sql_mode = ' | ||
| </ | </ | ||
| ==== Passwords and User Accounts ==== | ==== Passwords and User Accounts ==== | ||
| + | === Creating Users === | ||
| + | < | ||
| + | CREATE USER ' | ||
| + | CREATE USER ' | ||
| + | GRANT ALL PRIVILEGES ON *.* TO ' | ||
| + | GRANT SUPER ON *.* TO ' | ||
| + | </ | ||
| Global variables can be used to manage user passwords ... \\ | Global variables can be used to manage user passwords ... \\ | ||
| These can be overridden at the user level. \\ | These can be overridden at the user level. \\ | ||
mysqlcommands.1549622103.txt.gz · Last modified: (external edit)
