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

    # yum  -y  install  mysql
    #   yum install mysql-server
    #   yum install mysql-devel
    #  chgrp -R mysql /var/lib/mysql
    #   chmod -R 770 /var/lib/mysql
    #  service  mysqld start

    # mysql -u root -ppassword    //进入mysql控制台
    # mysql>use mysql;
    # mysql>update user set host = '%' where user = 'root';    //这个命令执行错误时可略过
    # mysql>flush privileges;
    # mysql>select host, user from user; //检查‘%’ 是否插入到数据库中
    #mysql>quit

  • 相关阅读:
    JS笔记009
    JS笔记008
    JS笔记007
    JS笔记006
    JS笔记005
    JS笔记004
    JS笔记003
    JS笔记001
    CSS3笔记012
    expdp SYNONYM of publick and schema owner
  • 原文地址:https://www.cnblogs.com/rhythmK/p/2751728.html
Copyright © 2011-2022 走看看