mysql8相关

==作者:YB-Chi==

[toc]

mysql8开启远程连接

mysql8的sql与5不一致,授权如下:

1
2
3
CREATE USER 'remoteuser'@'%' IDENTIFIED BY '123321';
GRANT ALL PRIVILEGES ON *.* TO 'remoteuser'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
文章作者: CYBSKY
文章链接: https://cybsky.top/2023/12/18/cyb-mds/database/mysql8相关/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 CYBSKY