ユーザ用ツール

サイト用ツール


mysql:install_from_rpm_ver_5.6

Install from rpm (Ver 5.6)

# wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-devel-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com/
# wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-server-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com/
# wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-shared-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com/
# wget http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-client-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com/

# ll
-rw-r--r-- 1 root root 22900977  1月 23 18:23 MySQL-client-5.6.10-1.rhel5.x86_64.rpm
-rw-r--r-- 1 root root  4548037  1月 23 18:23 MySQL-devel-5.6.10-1.rhel5.x86_64.rpm
-rw-r--r-- 1 root root 88351680  1月 23 18:24 MySQL-server-5.6.10-1.rhel5.x86_64.rpm
-rw-r--r-- 1 root root  2384798  1月 23 18:24 MySQL-shared-5.6.10-1.rhel5.x86_64.rpm
# rpm -Uvh MySQL-*
準備中...                ########################################### [100%]
   1:MySQL-shared           ########################################### [ 25%]
   2:MySQL-client           ########################################### [ 50%]
   3:MySQL-devel            ########################################### [ 75%]
   4:MySQL-server           ########################################### [100%]
2013-02-08 05:21:36 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-02-08 05:21:36 4196 [Note] InnoDB: The InnoDB memory heap is disabled
2013-02-08 05:21:36 4196 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-02-08 05:21:36 4196 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-02-08 05:21:36 4196 [Note] InnoDB: CPU does not support crc32 instructions
2013-02-08 05:21:36 4196 [Note] InnoDB: Using Linux native AIO
2013-02-08 05:21:36 4196 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-02-08 05:21:37 4196 [Note] InnoDB: Completed initialization of buffer pool
2013-02-08 05:21:37 4196 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2013-02-08 05:21:37 4196 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2013-02-08 05:21:37 4196 [Note] InnoDB: Database physically writes the file full: wait...
2013-02-08 05:21:37 4196 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2013-02-08 05:21:37 4196 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2013-02-08 05:21:37 4196 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2013-02-08 05:21:37 4196 [Warning] InnoDB: New log files created, LSN=45781
2013-02-08 05:21:37 4196 [Note] InnoDB: Doublewrite buffer not found: creating new
2013-02-08 05:21:37 4196 [Note] InnoDB: Doublewrite buffer created
2013-02-08 05:21:37 4196 [Note] InnoDB: 128 rollback segment(s) are active.
2013-02-08 05:21:37 4196 [Warning] InnoDB: Creating foreign key constraint system tables.
2013-02-08 05:21:37 4196 [Note] InnoDB: Foreign key constraint system tables created
2013-02-08 05:21:37 4196 [Note] InnoDB: Creating tablespace and datafile system tables.
2013-02-08 05:21:37 4196 [Note] InnoDB: Tablespace and datafile system tables created.
2013-02-08 05:21:37 4196 [Note] InnoDB: Waiting for purge to start
2013-02-08 05:21:37 4196 [Note] InnoDB: 1.2.10 started; log sequence number 0
A random root password has been set. You will find it in '/root/.mysql_secret'.
2013-02-08 05:21:37 4196 [Note] Binlog end
2013-02-08 05:21:37 4196 [Note] InnoDB: FTS optimize thread exiting.
2013-02-08 05:21:37 4196 [Note] InnoDB: Starting shutdown...
2013-02-08 05:21:39 4196 [Note] InnoDB: Shutdown completed; log sequence number 1625977


2013-02-08 05:21:39 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-02-08 05:21:39 4219 [Note] InnoDB: The InnoDB memory heap is disabled
2013-02-08 05:21:39 4219 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-02-08 05:21:39 4219 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-02-08 05:21:39 4219 [Note] InnoDB: CPU does not support crc32 instructions
2013-02-08 05:21:39 4219 [Note] InnoDB: Using Linux native AIO
2013-02-08 05:21:39 4219 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-02-08 05:21:39 4219 [Note] InnoDB: Completed initialization of buffer pool
2013-02-08 05:21:39 4219 [Note] InnoDB: Highest supported file format is Barracuda.
2013-02-08 05:21:39 4219 [Note] InnoDB: 128 rollback segment(s) are active.
2013-02-08 05:21:39 4219 [Note] InnoDB: Waiting for purge to start
2013-02-08 05:21:39 4219 [Note] InnoDB: 1.2.10 started; log sequence number 1625977
2013-02-08 05:21:39 4219 [Note] Binlog end
2013-02-08 05:21:39 4219 [Note] InnoDB: FTS optimize thread exiting.
2013-02-08 05:21:39 4219 [Note] InnoDB: Starting shutdown...
2013-02-08 05:21:41 4219 [Note] InnoDB: Shutdown completed; log sequence number 1625987




A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !
You will find that password in '/root/.mysql_secret'.

You must change that password on your first connect,
no other statement but 'SET PASSWORD' will be accepted.
See the manual for the semantics of the 'password expired' flag.

Also, the account for the anonymous user has been removed.

In addition, you can run:

  /usr/bin/mysql_secure_installation

which will also give you the option of removing the test database.
This is strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /usr/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/my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings

[root@localhost ~]#
# yum -y localinstall http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-shared-compat-5.6.12-1.el6.x86_64.rpm
# sudo yum -y localinstall http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-shared-5.6.12-1.el6.x86_64.rpm \
http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-server-5.6.12-1.el6.x86_64.rpm \
http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-devel-5.6.12-1.el6.x86_64.rpm \
http://cdn.mysql.com/Downloads/MySQL-5.6/MySQL-client-5.6.12-1.el6.x86_64.rpm
# cat /root/.mysql_secret 
 # The random password set for the root user at Wed Feb  6 18:43:34 2013 (local time): ******
# mysql -uroot -p******
mysql> SET PASSWORD FOR root@localhost=PASSWORD('pass');
mysql/install_from_rpm_ver_5.6.txt · 最終更新: 2014/02/26 08:21 by clownclown

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki