[root@Kamailio1 mysql]# rpm -Uvh MySQL-server-5.6.20-1.linux_glibc2.5.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
2014-08-19 11:15:34 13102 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-08-19 11:15:34 13102 [Note] InnoDB: The InnoDB memory heap is disabled
2014-08-19 11:15:34 13102 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-08-19 11:15:34 13102 [Note] InnoDB: Memory barrier is not used
2014-08-19 11:15:34 13102 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-08-19 11:15:34 13102 [Note] InnoDB: Using Linux native AIO
2014-08-19 11:15:34 13102 [Note] InnoDB: Using CPU crc32 instructions
2014-08-19 11:15:34 13102 [Note] InnoDB: Initializing buffer pool, size = 8.0G
2014-08-19 11:15:34 13102 [Note] InnoDB: Completed initialization of buffer pool
2014-08-19 11:15:34 13102 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2014-08-19 11:15:34 13102 [Note] InnoDB: Setting file ./ibdata1 size to 74 MB
2014-08-19 11:15:34 13102 [Note] InnoDB: Database physically writes the file full: wait...
2014-08-19 11:15:35 13102 [Note] InnoDB: Setting log file ./ib_logfile101 size to 1024 MB
InnoDB: Progress in MB: 100 200 300 400 500 600 700 800 900 1000
2014-08-19 11:15:44 13102 [Note] InnoDB: Setting log file ./ib_logfile1 size to 1024 MB
InnoDB: Progress in MB: 100 200 300 400 500 600 700 800 900 1000
2014-08-19 11:15:53 13102 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2014-08-19 11:15:53 13102 [Warning] InnoDB: New log files created, LSN=45781
2014-08-19 11:15:53 13102 [Note] InnoDB: Doublewrite buffer not found: creating new
2014-08-19 11:15:53 13102 [Note] InnoDB: Doublewrite buffer created
2014-08-19 11:15:53 13102 [Note] InnoDB: 128 rollback segment(s) are active.
2014-08-19 11:15:53 13102 [Warning] InnoDB: Creating foreign key constraint system tables.
2014-08-19 11:15:53 13102 [Note] InnoDB: Foreign key constraint system tables created
2014-08-19 11:15:53 13102 [Note] InnoDB: Creating tablespace and datafile system tables.
2014-08-19 11:15:53 13102 [Note] InnoDB: Tablespace and datafile system tables created.
2014-08-19 11:15:53 13102 [Note] InnoDB: Waiting for purge to start
2014-08-19 11:15:53 13102 [Note] InnoDB: 5.6.20 started; log sequence number 0
A random root password has been set. You will find it in '/root/.mysql_secret'.
2014-08-19 11:15:56 13102 [Warning] 'user' entry 'root@kamailio1' ignored in --skip-name-resolve mode.
2014-08-19 11:15:56 13102 [Warning] 'proxies_priv' entry '@ root@kamailio1' ignored in --skip-name-resolve mode.
2014-08-19 11:15:56 13102 [Note] Binlog end
2014-08-19 11:15:56 13102 [Note] InnoDB: FTS optimize thread exiting.
2014-08-19 11:15:56 13102 [Note] InnoDB: Starting shutdown...
2014-08-19 11:15:58 13102 [Note] InnoDB: Shutdown completed; log sequence number 1625977
2014-08-19 11:15:58 13141 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-08-19 11:15:58 13141 [Note] InnoDB: The InnoDB memory heap is disabled
2014-08-19 11:15:58 13141 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-08-19 11:15:58 13141 [Note] InnoDB: Memory barrier is not used
2014-08-19 11:15:58 13141 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-08-19 11:15:58 13141 [Note] InnoDB: Using Linux native AIO
2014-08-19 11:15:58 13141 [Note] InnoDB: Using CPU crc32 instructions
2014-08-19 11:15:58 13141 [Note] InnoDB: Initializing buffer pool, size = 8.0G
2014-08-19 11:15:58 13141 [Note] InnoDB: Completed initialization of buffer pool
2014-08-19 11:15:59 13141 [Note] InnoDB: Highest supported file format is Barracuda.
2014-08-19 11:15:59 13141 [Note] InnoDB: 128 rollback segment(s) are active.
2014-08-19 11:15:59 13141 [Note] InnoDB: Waiting for purge to start
2014-08-19 11:15:59 13141 [Note] InnoDB: 5.6.20 started; log sequence number 1625977
2014-08-19 11:15:59 13141 [Note] Binlog end
2014-08-19 11:15:59 13141 [Note] InnoDB: FTS optimize thread exiting.
2014-08-19 11:15:59 13141 [Note] InnoDB: Starting shutdown...
2014-08-19 11:16:01 13141 [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 at
The latest information about MySQL is available on the web at
Support MySQL by buying support/licenses at
WARNING: Found existing config file /usr/my.cnf on the system.
Because this file might be in use, it was not replaced,
but was used in bootstrap (unless you used --defaults-file)
and when you later start the server.
The new default config file was created as /usr/my-new.cnf,
please compare it with your file and take the changes you need.
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@Kamailio1 mysql]#
--根据情况,可重新设定数据目录
/usr/bin/mysql_install_db --user=mysql --datadir=/app/mysql/mysqldata