MySQL 配置

1.服务启动:

  (1)使用 service 启动:service mysqld start

  (2)使用 mysqld 脚本启动:/etc/inint.d/mysqld start

  (3)使用 safe_mysqld 启动:safe_mysqld&

1.开放MySQL服务的端口:3306

  开放端口的具体操作,请出门左转《Redis 配置》。

2.开放root用户的远程访问权限:

  问题:host ‘192.168.1.164’ is not allowed to connect to this myslq server

  在服务器端登录客户端:mysql -u root -p

  修改mysql数据库的user表:update user set host = '%'  where user ='root';

相关文章:

  • 2021-06-13
  • 2021-12-22
  • 2021-11-04
  • 2021-11-29
  • 2021-11-29
  • 2021-08-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2021-04-30
  • 2021-10-03
  • 2021-05-20
  • 2021-07-30
相关资源
相似解决方案