mysql-5.6.30-linux-glibc2.5-x86_ 安装
mysql-5.6.30-linux-glibc2.5-x86_下载
系统版本:
[vb] view plain copy
print?
1. [mysql@localhost scripts]$ uname -a
2. Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
解压:
[vb] view plain copy
print?
1. [root@localhost mysql]# tar -zxf mysql-5.6.30-linux-glibc2.5-x86_ -C /usr/local/
创建mysql用户:
[vb] view plain copy
print?
1. [root@localhost mysql]# useradd mysql
设置mysql用户密码:
[vb] view plain copy
print?
1. [root@localhost mysql]# echo '123456'|passwd --stdin mysql
设置权限:
[vb] view plain copy
print?
1. [root@localhost mysql]# cd /usr/local
[vb] view plain copy
print?
1. [root@localhost local]# chown -R mysql:mysql mysql/
切换到mysql用户
[vb] view plain copy
print?
1. [root@localhost local]# su - mysql
[vb] view plain copy
print?
1. [mysql@localhost ~]$ cd /usr/local/mysql/scripts/
安装:
[vb] view plain copy
print?
1. [mysql@localhost scripts]$ /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data &
输出信息:
[vb] view plain copy
print?
1. [mysql@localhost scripts]$ /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data &
2. Installing MySQL system&2016-04-17 07:41:40 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
3. 2016-04-17 07:41:40 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.30) starting as process 3394 ...
4. 2016-04-17 07:41:40 3394 [Warning] Buffered warning: Changed limits: max_open_files: 1024 (requested 5000) mysql下载starting the server
5.
6. 2016-04-17 07:41:40 3394 [Warning] Buffered warning: Changed limits: table_open_cache: 431 (requested 2000)
7.
8. 2016-04-17 07:41:40 3394 [Note] InnoDB: Using atomics to ref count buffer pool pages
9. 2016-04-17 07:41:40 3394 [Note] InnoDB: The InnoDB memory heap is disabled
10. 2016-04-17 07:41:40 3394 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
11. 2016-04-17 07:41:40 3394 [Note] InnoDB: Memory barrier is not used
12. 2016-04-17 07:41:40 3394 [Note] InnoDB: Compressed tables use zlib 1.2.3
13. 2016-04-17 07:41:40 3394 [Note] InnoDB: Using Linux native AIO
14. 2016-04-17 07:41:40 3394 [Note] InnoDB: Using CPU crc32 instructions
15. 2016-04-17 07:41:40 3394 [Note] InnoDB: Initializing buffer pool, size = 128.0M
16. 2016-04-17 07:41:40 3394 [Note] InnoDB: Completed initialization of buffer pool
17. 2016-04-17 07:41:41 3394 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
18. 2016-04-17 07:41:41 3394 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
19. 2016-04-17 07:41:41 3394 [Note] InnoDB: Database physically writes the file full:&
20. 2016-04-17 07:41:41 3394 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
21. 2016-04-17 07:41:42 3394 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
22. 2016-04-17 07:41:44 3394 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
23. 2016-04-17 07:41:44 3394 [Warning] InnoDB: New log files created, LSN=45781
24. 2016-04-17 07:41:44 3394 [Note] InnoDB: Doublewrite buffer not found: creating new
25. 2016-04-17 07:41:44 3394 [Note] InnoDB: Doublewrite buffer created
26. 2016-04-17 07:41:44 3394 [Note] InnoDB: 128 rollback segment(s) are active.
27. 2016-04-17 07:41:44 3394 [Warning] InnoDB: Creating foreign key constraint system tables.
28. 2016-04-17 07:41:44 3394 [Note] InnoDB: Foreign key constraint system tables created
29. 2016-04-17 07:41:44 3394 [Note] InnoDB: Creating tablespace and datafile system tables.
30. 2016-04-17 07:41:44 3394 [Note] InnoDB: Tablespace and datafile system tables created.
31. 2016-04-17 07:41:44 3394 [Note] InnoDB: Waiting for purge to start
32. 2016-04-17 07:41:44 3394 [Note] InnoDB: 5.6.30 started; log sequence number 0
33. 2016-04-17 07:41:45 3394 [Note] Binlog end
34. 2016-04-17 07:41:45 3394 [Note] InnoDB: FTS optimize thread exiting.
35. 2016-04-17 07:41:45 3394 [Note] InnoDB: Starting&
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论