在 Ubuntu 中安装 MySQL5.7.** 最新版

绝地灬酷狼 2022-05-09 02:33 345阅读 0赞

相关链接:

在 CentOS 1804 中 使用 yum 安装 MySQL 5.7 最新版

在 CentOS 1804 中 安装 MySQL 5.7.20 (或任意MySQL版本)

在 CentOS 1804 中 修改 MySQL 密码策略

在 CentOS 中 开启 MySQL 的 3306 端口

在不打开 MySQL 3306 端口的情况下,使用 Navicat 进项远程连接(使用22端口)

在 Ubuntu 中安装 MySQL5.7.20(任意版本)

在 Ubuntu 中安装 MySQL5.7.** 最新版

CentOS 6/7 安装 MySQL 8 最新版

CentOS 6/7 安装 MySQL 8.0.11 (或任意版)

MySQL 5.7 最新版 使用 yum 安装 MySQL NDB Cluster 7.5 最新版 集群

MySQL 集群 MySQL NDB Cluster 7.5.** 与 MySQL 5.7.** 对应版本说明

MySQL 集群 MySQL NDB Cluster 7.6.** 与 MySQL 5.7.** 对应版本说明

MySQL 5.7.20 (或指定版本) 与 MySQL NDB Cluster 7.6.4 (或指定版本) 集群

Windows 安装 MySQL 5.7.20 教程(及常见问题解决)

MySQL 5.7.20 (或任意版本) 的 Windows 版 安装程序 (msi) 下载


安装说明:

以下内容是依据官方文档(https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/)进项安装的。

适用范围:

  • Debian 7,8,9
  • Ubuntu 14.04,16.04,17.10,18.04

  1. 安装MySQL:

    1. root@csdn:~# apt-get install -y mysql-server
  2. 查看用户及随机密码等相关信息:

    1. root@csdn:~# cat /etc/mysql/debian.cnf
    2. # Automatically generated for Debian scripts. DO NOT TOUCH!
    3. [client]
    4. host = localhost
    5. user = debian-sys-maint
    6. password = y13FtH21wHrGJqAQ
    7. socket = /var/run/mysqld/mysqld.sock
    8. [mysql_upgrade]
    9. host = localhost
    10. user = debian-sys-maint
    11. password = y13FtH21wHrGJqAQ
    12. socket = /var/run/mysqld/mysqld.sock
  3. 登录MySQL:
    不要问我密码是什么,我是不会告诉你上面一部已经查到了。

    1. root@csdn:~# mysql -u debian-sys-maint -p
    2. Enter password:
    3. Welcome to the MySQL monitor. Commands end with ; or \g.
    4. Your MySQL connection id is 2
    5. Server version: 5.7.23-0ubuntu0.18.04.1 (Ubuntu)
    6. Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
    7. Oracle is a registered trademark of Oracle Corporation and/or its
    8. affiliates. Other names may be trademarks of their respective
    9. owners.
    10. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    11. mysql>

相关链接:

相关链接:

在 CentOS 1804 中 使用 yum 安装 MySQL 5.7 最新版

在 CentOS 1804 中 安装 MySQL 5.7.20 (或任意MySQL版本)

在 CentOS 1804 中 修改 MySQL 密码策略

在 CentOS 中 开启 MySQL 的 3306 端口

在不打开 MySQL 3306 端口的情况下,使用 Navicat 进项远程连接(使用22端口)

在 Ubuntu 中安装 MySQL5.7.20(任意版本)

在 Ubuntu 中安装 MySQL5.7.** 最新版

CentOS 6/7 安装 MySQL 8 最新版

CentOS 6/7 安装 MySQL 8.0.11 (或任意版)

MySQL 5.7 最新版 使用 yum 安装 MySQL NDB Cluster 7.5 最新版 集群

MySQL 集群 MySQL NDB Cluster 7.5.** 与 MySQL 5.7.** 对应版本说明

MySQL 集群 MySQL NDB Cluster 7.6.** 与 MySQL 5.7.** 对应版本说明

MySQL 5.7.20 (或指定版本) 与 MySQL NDB Cluster 7.6.4 (或指定版本) 集群

Windows 安装 MySQL 5.7.20 教程(及常见问题解决)

MySQL 5.7.20 (或任意版本) 的 Windows 版 安装程序 (msi) 下载

发表评论

表情:
评论列表 (有 0 条评论,345人围观)

还没有评论,来说两句吧...

相关阅读