728x90
반응형
1. 방법1
GRANT ALL PRIVILEGES ON *.* TO '아이디'@'%' IDENTIFIED BY '비밀번호';
FLUSH PRIVILEGES;
2. 방법2
INSERT INTO mysql.user (host,user,authentication_string,ssl_cipher, x509_issuer, x509_subject) VALUES ('%','아이디',password('패스워드'),'','',''); GRANT ALL PRIVILEGES ON *.* TO '아이디'@'%';
FLUSH PRIVILEGES;
728x90
반응형
'DB > MariaDB' 카테고리의 다른 글
Raspberry pi MariaDB install (0) | 2023.06.12 |
---|---|
MariaDB 10.5 root 비밀번호 초기화(password initialize) (0) | 2021.04.15 |
Ubuntu 20.04 MariaDB 10.5 Install (0) | 2021.04.15 |
CentOS 7 (x86_64) MariaDB 10.5 Install (0) | 2021.04.15 |
MariaDB 10.4 Table name case insensitive (0) | 2020.11.16 |