zoukankan      html  css  js  c++  java
  • install source mysql 5.7.9

    ===========Step1:install=====================
    yum install cmake make ncurses-devel gcc-c++ bison
    sudo apt-get install cmake libncurses5-dev g++ bison libssl-dev libxml2-dev libboost-dev
    wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.9.tar.gz
    tar zxvf mysql-5.7.9.tar.gz
    cd mysql-5.7.9
    cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DDOWNLOAD_BOOST=1 -DWITH_BOOST=$HOME/my_boost
    make
    make install

    ===========Step2:configure===================
    useradd mysql
    /usr/local/mysql/bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=./data
    cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld
    service mysqld start
    chkconfig --add mysqld
    chkconfig mysqld on

    ===========Step3:setpassword=================
    /usr/local/mysql/bin/mysql -uroot -p -S/tmp/mysql.sock

    status;
    use mysql
    SET PASSWORD = PASSWORD('123456');
    truncate table user;
    GRANT ALL PRIVILEGES ON *.* TO 'lerba'@'%' IDENTIFIED BY '123' WITH GRANT OPTION;
    flush privileges;

    飞儿传媒www.firadio.com
  • 相关阅读:
    DRF 版本和认证
    DRF 视图和路由
    DRF 序列化组件
    RESTful
    Vuex以及axios
    npm、webpack、vue-cli
    Vue 生命周期
    Vue Router
    Vue 组件
    Vue 快速入门
  • 原文地址:https://www.cnblogs.com/firadio/p/4920816.html
Copyright © 2011-2022 走看看