当前位置:网站首页>Linux 创建mysql数据库并创建账号密码
Linux 创建mysql数据库并创建账号密码
2022-07-31 08:36:00 【siner.li】
Linux 创建数据库并创建账号和密码!!!
1. 建库
create database (库名);
2. 查看
show databases;
3. 创建数据库用户密码
GRANT ALL PRIVILEGES ON 数据库名称.* TO '用户名'@'授权返回(localhost/%)' IDENTIFIED BY '数据库密码';
4. 刷新权限
flush privileges;
边栏推荐
猜你喜欢
I advise those juniors and juniors who have just started working: If you want to enter a big factory, you must master these core skills!Complete Learning Route!
期刊会议排名、信息检索网站推荐以及IEEE Latex模板下载
期刊投递时的 Late News Submission 是什么
SQL连接表(内连接、左连接、右连接、交叉连接、全外连接)
Hematemesis summarizes thirteen experiences to help you create more suitable MySQL indexes
[MySQL exercises] Chapter 3 Common data types in MySQL
一、MySQL主从复制原理
【问题记录】TypeError: eval() arg 1 must be a string, bytes or code object
【云原生与5G】微服务加持5G核心网
How to restore data using mysql binlog
随机推荐
SQL 入门之第一讲——MySQL 8.0.29安装教程(windows 64位)
[MySQL exercises] Chapter 2 Basic operations of databases and data tables
MySQL 操作语句大全(详细)
【MySQL功法】第2话 · 数据库与数据表的基本操作
傅里叶变换,拉普拉斯变换学习记录
Ubuntu安装Mysql5.7
如何在 Linux 上安装 MySQL
Unreal基础概念
torch分布式训练
(selenium)Service geckodriver unexpectedly exited. Status code was: 64
SSM整合案例分析(详解)
剑指offer-解决面试题的思路
【pytorch记录】pytorch的分布式 torch.distributed.launch 命令在做什么呢
Linux安装mysql
MySQL安装教程
Job hunting product manager [9] How to write a good resume in job hunting season?
搭建frp进行内网穿透
[Mini Program Project Development--Jingdong Mall] Custom Search Component of uni-app (Part 1)--Component UI
How to upgrade nodejs version
如何升级nodejs版本