色魔王子7 发表于 2018-6-27 06:02:51

Windows Mysql添加用户

  打开MySQL 5.5 Command Line Client输入密码登陆mysql服务器
  添加可以本地登陆root用户,密码root
  Oracle is a registered trademark of Oracle Corporation and/or its
  affiliates. Other names may be trademarks of their respective
  owners.
  Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  mysql> show databases;
  +--------------------+
  | Database         |
  +--------------------+
  | information_schema |
  | mysql            |
  | performance_schema |
  | test               |
  | tsql               |
  +--------------------+
  5 rows in set (0.00 sec)

  mysql> grant all on *.* to root@localhost>  Query OK, 0 rows affected (0.07 sec)
  mysql> flush privileges;
  Query OK, 0 rows affected (0.08 sec)
页: [1]
查看完整版本: Windows Mysql添加用户