💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
安装mysql: ``` yum install mysql-server ``` ``` systemctl list-unit-files|grep mysqld #检查是否已经设置为开机启动MySQL服务 ``` ``` systemctl enable mysqld.service   #设置开机启动 ``` ``` systemctl start mysqld.service #启动服务 ``` ``` /usr/bin/mysql\_secure\_installation #设置密码 ``` 设置mysql远程连接,进入mysql: ~~~ mysql -u root -p use mysql; update user set host='%' where user='root'; flush privileges; #刷新权限 ~~~ 其他: ``` select user, host from user; # 查看mysql的所有用户 ``` 参考: https://www.cnblogs.com/ttrrpp/p/12173562.html