![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
文章平均质量分 94
姚文洲
这个作者很懒,什么都没留下…
展开
-
MySQL杂记
MySQL学习或者是用过程中的笔记随笔原创 2023-01-30 10:54:25 · 263 阅读 · 0 评论 -
MySQL的用户管理
1. 创建新用户登录以root登录MySQL之后,执行下面两条指令:create user 'username'@'host' identified by 'password';# host: % 表示任何ip都可以登录,localhost 表示仅可以本地登录,还可以指定ip,暂时没有尝试过指定域名flush privileges;# 刷新权限,也没有尝试过不刷新权限直接登录Example:xiaoyao@Ubuntu2004:~$ mysql -uroot -pEnter passwor原创 2020-07-04 16:59:20 · 125 阅读 · 0 评论 -
ubuntu20.04安装MySQL
1. Ubuntu上安装MySQL:sudo apt-get update # 更新源sudo apt-get install mysql-server # 安装MySQL服务器sudo apt-get install mysql-client # 安装MySQL客户端#####################下面的代码和输出是验证是否安装成功的#####################iaoyao@Ubuntu2004:~$ systemctl status mysql● mysql.原创 2020-07-04 16:53:09 · 990 阅读 · 0 评论