Tag: MySQL8
mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'root'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
SELECT * FROM mysql.component;
bind-address=0.0.0.0 skip-networking=0
$ mysql -b -e "SHOW GLOBAL VARIABLES like 'bind_address'"
select user,host from mysql.user; | root | localhost |
create user root@'%' identified by 'hogehoge'; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
mysql > GRANT PROCESS ON *.* TO "your-user";