Ubuntu 16.04 (linux)下MySQL的安装
来源:互联网 发布:手游数据查询 编辑:程序博客网 时间:2024/05/22 14:19
1, 打开终端:
sudo apt-get install mysql-server
2 ,接下来会让你选择y/n, 这里你选择y,
3 ,这里会出现一个让你输入mysql-server的密码,输入完后如果鼠标点击不了,可以使用Tab键+enter键继续下一步
4 ,接下来,会继续让我们输入一次密码
5, 密码输入完后,我们这里的mysql-server的用户名是:root ,密码是我们刚刚设置过的密码,
6, 这时候已经安装完成了,我们需要验证一下是否安装上了mysql-server
mysql -u root -p
按enter键后会让我们输入密码,当我们输入密码后,会出现:
snakeson@snakeson-Inspiron-5421:~$ mysql -u root -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 5Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql>
7 , 这样我们就在Ubuntu下安装好了mysql-server。
阅读全文
0 0
- Ubuntu 16.04 (linux)下MySQL的安装
- ubuntu linux 下的mysql 安装
- Linux(Ubuntu)下MySQL数据库的安装
- Linux Ubuntu下mysql的安装
- ubuntu linux下安装mysql
- Linux(Ubuntu)下MySQL的安装与配置
- Linux(Ubuntu)下MySQL的安装与配置
- Linux(Ubuntu)下MySQL的安装与配置
- Linux(Ubuntu)下MySQL的安装与配置
- linux ubuntu系统下MySQL的安装及设置
- Linux(Ubuntu)下MySQL的安装与配置
- Linux(Ubuntu)下MySQL的安装与配置
- Linux(Ubuntu)下MySQL的安装与配置
- Linux(Ubuntu)下MySQL的安装与配置
- Linux下的MySql安装等(系统:Ubuntu)
- linux => navicat for mysql 在ubuntu下的安装
- Linux(Ubuntu)下MySQL的安装与配置
- Linux(Ubuntu)下MySQL的安装与配置
- Python数据类型:列表
- for 创建一个方法:键盘录入一个数 ,求它的 阶乘 及 阶乘的和
- GoldenGate 传统抽取进程随 DataGuard 主备快速切换的方案(ADG 模式)
- [POJ] 2528
- java注解
- Ubuntu 16.04 (linux)下MySQL的安装
- Thread和Runnable之间的关系
- js为li列表添加点击事件
- tensorflow常用函数介绍
- PAT (Basic Level) Practise (中文)1035. 插入与归并(25)
- Centos7安装mariadb-server
- 【安全牛学习笔记】CCNA简介
- 【爬虫初级】爬取百度百科静态页面数据案例
- 关于C++里面使用set_union,set_intersection等函数的使用总结