HOME | GITHUB

MySQL开启远程登录

$ mysql -uroot -p123456
    > use mysql;
    > GRANT ALL PRIVILEGES ON *.* TO "root"@"%" IDENTIFIED BY "123456" WITH GRANT OPTION;
    > FLUSH PRIVILEGES;
    > select host,password,user from user;
    > quit
$ /etc/init.d/mysql restart

Date: 2019-02-08 Fri 13:49

Author: shixiongfei

Created: 2022-08-26 Fri 14:11

Emacs 28.1 (Org mode 9.5.2)