zoukankan      html  css  js  c++  java
  • debian9安装mysql

    cd /tmp
    wget https://dev.mysql.com/get/mysql-apt-config_0.8.7-1_all.deb
    dpkg -i mysql-apt-config_*.deb
    选择5.7版本
    apt update
    apt install mysql-community-server -y
    安装完成
    登录mysql,设置允许远程连接
    GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
    FLUSH PRIVILEGES;
    vim mysql.conf.d
    将bind-address  = 127.0.0.1”改为“bind-address  = 0.0.0.0
  • 相关阅读:
    64_q2
    64_q1
    64_p10
    64_p9
    64_p8
    64_p7
    64_p6
    64_p5
    64_p4
    64_p3
  • 原文地址:https://www.cnblogs.com/phpk/p/10514982.html
Copyright © 2011-2022 走看看