<sub id="17nj5"><progress id="17nj5"></progress></sub><th id="17nj5"><progress id="17nj5"><nobr id="17nj5"></nobr></progress></th>

    <sub id="17nj5"></sub>
    <sub id="17nj5"></sub>

    <progress id="17nj5"><rp id="17nj5"><big id="17nj5"></big></rp></progress>

        <track id="17nj5"></track>

        linux下通过yum安装mysql数据的方法

        2017-04-11 18:07:05来源威易网作者小俊

        linux下通过yum安装mysql数据的方法

        首先要确保之前安装的mysql被卸载干净

        [[email protected] ~]# rpm -qa|grep -i mysql

        mysql-community-release-el7-5.noarch

        [[email protected] ~]# rpm -e mysql-community-release-el7-5.noarch --nodeps

        或者

        [[email protected] ~]# yum -y remove mysql-libs*

        然后登陆mysql官网?#19994;?#23545;应版本的yum源地址

        登陆官网http://dev.mysql.com/downloads/repo/yum/

        \

        点击对应版本后面的Download按钮进入到下面这个页面

        \

        通过鼠标右键选择复制链接地址就可以获得对应版本的yum源地址例如

        http://dev.mysql.com/get/mysql57-community-release-el6-9.noarch.rpm

        通过以下步骤进行安装

        [[email protected] ~]# rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el6-9.noarch.rpm
        Retrieving http://dev.mysql.com/get/mysql57-community-release-el6-9.noarch.rpm
        warning: /var/tmp/rpm-tmp.q1TNuY: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
        Preparing...                ########################################### [100%]
           1:mysql57-community-relea########################################### [100%]

        [[email protected] ~]# yum repolist enabled | grep mysql
        Failed to set locale, defaulting to C
        mysql-connectors-community           MySQL Connectors Community             21
        mysql-tools-community                MySQL Tools Community                  38
        mysql57-community                    MySQL 5.7 Community Server            114
        [[email protected] ~]# yum install mysql-community-server

        查看mysql root?#31508;?#23494;码

        [[email protected] ~]# sudo grep 'temporary password' /var/log/mysqld.log

        2016-08-11T10:16:43.180993Z 1 [Note] A temporary password is generated for [email protected]: 4k#Xq3h4Q7kR

        关键词mysqllinuxyum

        赞助商链接:

        2018Ф
        <sub id="17nj5"><progress id="17nj5"></progress></sub><th id="17nj5"><progress id="17nj5"><nobr id="17nj5"></nobr></progress></th>

          <sub id="17nj5"></sub>
          <sub id="17nj5"></sub>

          <progress id="17nj5"><rp id="17nj5"><big id="17nj5"></big></rp></progress>

              <track id="17nj5"></track>
              <sub id="17nj5"><progress id="17nj5"></progress></sub><th id="17nj5"><progress id="17nj5"><nobr id="17nj5"></nobr></progress></th>

                <sub id="17nj5"></sub>
                <sub id="17nj5"></sub>

                <progress id="17nj5"><rp id="17nj5"><big id="17nj5"></big></rp></progress>

                    <track id="17nj5"></track>