<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當前位置: 首頁 - 科技 - 知識百科 - 正文

        linuxmysql5.6版本的安裝配置過程

        來源:懂視網 責編:小采 時間:2020-11-09 21:07:08
        文檔

        linuxmysql5.6版本的安裝配置過程

        linuxmysql5.6版本的安裝配置過程:從今年3月份開始mysql官網開始發(fā)布相關的5.6系列的各個版本,對于mysql5.6系列的版本對一起的版本進行了全局性的細節(jié)性加強;個人感覺,以下是在虛擬機中配置的mysql5.6.10源碼安裝的過程分享記錄下: [root@mysql5 ~]# groupadd mysql
        推薦度:
        導讀linuxmysql5.6版本的安裝配置過程:從今年3月份開始mysql官網開始發(fā)布相關的5.6系列的各個版本,對于mysql5.6系列的版本對一起的版本進行了全局性的細節(jié)性加強;個人感覺,以下是在虛擬機中配置的mysql5.6.10源碼安裝的過程分享記錄下: [root@mysql5 ~]# groupadd mysql

        從今年3月份開始mysql官網開始發(fā)布相關的5.6系列的各個版本,對于mysql5.6系列的版本對一起的版本進行了全局性的細節(jié)性加強;個人感覺,以下是在虛擬機中配置的mysql5.6.10源碼安裝的過程分享記錄下:

        [root@mysql5 ~]# groupadd mysql
        [root@mysql5 ~]# useradd -r -g mysql mysql
        [root@mysql5 ~]# ls
        anaconda-ks.cfg install.log install.log.syslog mysql-5.6.10.tar.gz
        [root@mysql5 ~]# cd /usr/local/
        [root@mysql5 local]# ls
        bin etc games include lib libexec sbin share src
        [root@mysql5 local]# cp /root/mysql-5.6.10.tar.gz /usr/local/
        [root@mysql5 local]# ll
        total 34468
        drwxr-xr-x 2 root root 4096 Jan 27 2010 bin
        drwxr-xr-x 2 root root 4096 Jan 27 2010 etc
        drwxr-xr-x 2 root root 4096 Jan 27 2010 games
        drwxr-xr-x 2 root root 4096 Jan 27 2010 include
        drwxr-xr-x 2 root root 4096 Jan 27 2010 lib
        drwxr-xr-x 2 root root 4096 Jan 27 2010 libexec
        -rw-r--r-- 1 root root 35174149 Apr 17 00:55 mysql-5.6.10.tar.gz
        drwxr-xr-x 2 root root 4096 Jan 27 2010 sbin
        drwxr-xr-x 4 root root 4096 Apr 17 00:32 share
        drwxr-xr-x 2 root root 4096 Jan 27 2010 src
        [root@mysql5 local]# tar -zxvf mysql-5.6.10.tar.gz
        [root@mysql5 local]# cd mysql-5.6.10
        cmake .
        make && make install

        [root@mysql5 mysql-5.6.10]# chown -R mysql.mysql /usr/local/mysql
        [root@mysql5 mysql-5.6.10]#
        [root@mysql5 mysql-5.6.10]# cd /usr/local/mysql/scripts/
        [root@mysql5 scripts]# ./mysql_install_db --user=mysql --basedir=/usr/local/mys
        ql --datadir=/usr/local/mysql/data
        Installing MySQL system tables...2013-04-17 01:26:58 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
        2013-04-17 01:26:58 18715 [Note] InnoDB: The InnoDB memory heap is disabled
        2013-04-17 01:26:58 18715 [Note] InnoDB: Mutexes and rw_locks use InnoDB's own implementation
        2013-04-17 01:26:58 18715 [Note] InnoDB: Compressed tables use zlib 1.2.3
        2013-04-17 01:26:58 18715 [Note] InnoDB: CPU does not support crc32 instructions
        2013-04-17 01:26:58 18715 [Note] InnoDB: Initializing buffer pool, size = 128.0M
        2013-04-17 01:26:58 18715 [Note] InnoDB: Completed initialization of buffer pool
        2013-04-17 01:26:58 18715 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
        2013-04-17 01:26:59 18715 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
        2013-04-17 01:26:59 18715 [Note] InnoDB: Database physically writes the file full: wait...
        2013-04-17 01:26:59 18715 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
        2013-04-17 01:26:59 18715 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
        2013-04-17 01:26:59 18715 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
        2013-04-17 01:26:59 18715 [Warning] InnoDB: New log files created, LSN=45781
        2013-04-17 01:26:59 18715 [Note] InnoDB: Doublewrite buffer not found: creating new
        2013-04-17 01:26:59 18715 [Note] InnoDB: Doublewrite buffer created
        2013-04-17 01:26:59 18715 [Note] InnoDB: 128 rollback segment(s) are active.
        2013-04-17 01:26:59 18715 [Warning] InnoDB: Creating foreign key constraint system tables.
        2013-04-17 01:26:59 18715 [Note] InnoDB: Foreign key constraint system tables created
        2013-04-17 01:26:59 18715 [Note] InnoDB: Creating tablespace and datafile system tables.
        2013-04-17 01:26:59 18715 [Note] InnoDB: Tablespace and datafile system tables created.
        2013-04-17 01:26:59 18715 [Note] InnoDB: Waiting for purge to start
        2013-04-17 01:26:59 18715 [Note] InnoDB: 1.2.10 started; log sequence number 0
        2013-04-17 01:26:59 18715 [Note] Binlog end
        2013-04-17 01:26:59 18715 [Note] InnoDB: FTS optimize thread exiting.
        2013-04-17 01:26:59 18715 [Note] InnoDB: Starting shutdown...
        2013-04-17 01:27:00 18715 [Note] InnoDB: Shutdown completed; log sequence number 1625977
        OK

        Filling help tables...2013-04-17 01:27:00 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
        2013-04-17 01:27:00 18738 [Note] InnoDB: The InnoDB memory heap is disabled
        2013-04-17 01:27:00 18738 [Note] InnoDB: Mutexes and rw_locks use InnoDB's own implementation
        2013-04-17 01:27:00 18738 [Note] InnoDB: Compressed tables use zlib 1.2.3
        2013-04-17 01:27:00 18738 [Note] InnoDB: CPU does not support crc32 instructions
        2013-04-17 01:27:00 18738 [Note] InnoDB: Initializing buffer pool, size = 128.0M
        2013-04-17 01:27:00 18738 [Note] InnoDB: Completed initialization of buffer pool
        2013-04-17 01:27:00 18738 [Note] InnoDB: Highest supported file format is Barracuda.
        2013-04-17 01:27:00 18738 [Note] InnoDB: 128 rollback segment(s) are active.
        2013-04-17 01:27:00 18738 [Note] InnoDB: Waiting for purge to start
        2013-04-17 01:27:01 18738 [Note] InnoDB: 1.2.10 started; log sequence number 1625977
        2013-04-17 01:27:01 18738 [Note] Binlog end
        2013-04-17 01:27:01 18738 [Note] InnoDB: FTS optimize thread exiting.
        2013-04-17 01:27:01 18738 [Note] InnoDB: Starting shutdown...
        2013-04-17 01:27:02 18738 [Note] InnoDB: Shutdown completed; log sequence number 1625987
        OK

        To start mysqld at boot time you have to copy
        support-files/mysql.server to the right place for your system

        PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
        To do so, start the server, then issue the following commands:

        /usr/local/mysql/bin/mysqladmin -u root password 'new-password'
        /usr/local/mysql/bin/mysqladmin -u root -h mysql5.6 password 'new-password'

        Alternatively you can run:

        /usr/local/mysql/bin/mysql_secure_installation

        which will also give you the option of removing the test
        databases and anonymous user created by default. This is
        strongly recommended for production servers.

        See the manual for more instructions.

        You can start the MySQL daemon with:

        cd . ; /usr/local/mysql/bin/mysqld_safe &

        You can test the MySQL daemon with mysql-test-run.pl

        cd mysql-test ; perl mysql-test-run.pl

        Please report any problems with the ./bin/mysqlbug script!

        The latest information about MySQL is available on the web at

        http://www.mysql.com

        Support MySQL by buying support/licenses at http://shop.mysql.com

        New default config file was created as /usr/local/mysql/my.cnf and
        will be used by default by the server when you start it.
        You may edit this file to change server settings

        WARNING: Default config file /etc/my.cnf exists on the system
        This file will be read by default by the MySQL server
        If you do not want to use this, either remove it, or use the
        --defaults-file argument to mysqld_safe when starting the server

        [root@mysql5 scripts]#
        [root@mysql5 scripts]# cd /usr/local/mysql/support-files/
        [root@mysql5 support-files]# cp mysql.server /etc/rc.d/init.d/mysql
        [root@mysql5 support-files]# cp my-default.cnf /etc/my.cnf
        cp: overwrite `/etc/my.cnf'? y
        [root@mysql5 support-files]#
        [root@mysql5 support-files]# chkconfig -add mysql
        -add: unknown option
        [root@mysql5 support-files]# chkconfig --add mysql
        [root@mysql5 support-files]# chkconfig mysql on
        [root@mysql5 support-files]# service mysql start
        Starting MySQL. [ OK ]
        [root@mysql5 support-files]#
        [root@mysql5 data]# mysql -u mysql -p -S /tmp/mysql.sock
        Enter password:
        Welcome to the MySQL monitor. Commands end with ; or \g.
        Your MySQL connection id is 1
        Server version: 5.6.10 Source distribution

        Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

        mysql>
        mysql> status;
        --------------
        mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1

        Connection id: 1
        Current database:
        Current user: mysql@localhost
        SSL: Not in use
        Current pager: stdout
        Using outfile: ''
        Using delimiter: ;
        Server version: 5.6.10 Source distribution
        Protocol version: 10
        Connection: Localhost via UNIX socket
        Server characterset: latin1
        Db characterset: latin1
        Client characterset: latin1
        Conn. characterset: latin1
        UNIX socket: /tmp/mysql.sock
        Uptime: 3 min 38 sec

        Threads: 1 Questions: 5 Slow queries: 0 Opens: 67 Flush tables: 1 Open tables: 60 Queries per second avg: 0.022
        --------------

        mysql>

        您可能感興趣的文章:

      1. linux下安裝apache與php;Apache+PHP+MySQL配置攻略
      2. mysql 5.7.13 安裝配置方法圖文教程(linux)
      3. Linux下MySQL安裝配置 MySQL配置參數(shù)詳解
      4. 最全的mysql 5.7.13 安裝配置方法圖文教程(linux) 強烈推薦!
      5. 查看linux服務器上mysql配置文件路徑的方法
      6. linux下指定mysql數(shù)據庫服務器主從同步的配置實例
      7. linux下apache、mysql、php安裝配置詳細筆記
      8. CentOS Linux 下配置Apache2+PHP5+MySQL5+GD庫的方法
      9. Linux虛擬機下mysql 5.7安裝配置方法圖文教程
      10. 一次Linux修改MySQL配置不生效的問題解決
      11. 聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        linuxmysql5.6版本的安裝配置過程

        linuxmysql5.6版本的安裝配置過程:從今年3月份開始mysql官網開始發(fā)布相關的5.6系列的各個版本,對于mysql5.6系列的版本對一起的版本進行了全局性的細節(jié)性加強;個人感覺,以下是在虛擬機中配置的mysql5.6.10源碼安裝的過程分享記錄下: [root@mysql5 ~]# groupadd mysql
        推薦度:
        標簽: 步驟 安裝 版本
        • 熱門焦點

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 亚洲夂夂婷婷色拍WW47| 精品国产亚洲一区二区三区 | 免费大片av手机看片高清| 最近中文字幕mv免费高清电影 | 亚洲人成网站观看在线播放| 免费毛片毛片网址| 在线亚洲午夜理论AV大片| 亚洲国产免费综合| 亚洲av无码专区国产乱码在线观看 | 永久在线毛片免费观看| 亚洲欧美一区二区三区日产| 日本成人免费在线| 一级毛片免费不卡| 亚洲高清在线观看| 2021国产精品成人免费视频| 亚洲精品精华液一区二区 | 亚洲精品天堂成人片AV在线播放| 狼友av永久网站免费观看| 精品在线免费视频| 亚洲乳大丰满中文字幕| 亚洲香蕉免费有线视频| 豆国产96在线|亚洲| 中文字幕精品亚洲无线码一区应用| 免费精品99久久国产综合精品| 亚洲成av人片不卡无码| 国产大片免费观看中文字幕| a级毛片免费全部播放无码| 亚洲成在人线电影天堂色| 国产高清免费在线| 热99RE久久精品这里都是精品免费| 亚洲成人在线免费观看| 免费在线观看黄色毛片| 免费A级毛片无码视频| 亚洲色偷偷综合亚洲av78| 亚洲精品乱码久久久久久蜜桃不卡| 成人免费视频网站www| www免费插插视频| 久久精品国产亚洲AV忘忧草18| 亚洲第一网站男人都懂| 中文字幕在线免费观看| 免费无码AV一区二区|