[root@pacteralinux mysql]# scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/mnt/resource/mysqldate --user=mysql
Installing MySQL system tables...2013-11-2613:41:480[Warning] TIMESTAMP withimplicit DEFAULT value isdeprecated. Please use--explicit_defaults_for_timestamp server option (see documentation formore details).
2013-11-2613:41:486768[Note] InnoDB: The InnoDB memory heap isdisabled
2013-11-2613:41:486768[Note] InnoDB: Mutexes and rw_locks useGCC atomic builtins
2013-11-2613:41:486768[Note] InnoDB: Compressed tables usezlib 1.2.3
2013-11-2613:41:486768[Note] InnoDB: Not using CPU crc32 instructions
2013-11-2613:41:486768[Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-11-2613:41:486768[Note] InnoDB: Completed initialization of buffer pool
2013-11-2613:41:486768[Note] InnoDB: Highest supported file format isBarracuda.
2013-11-2613:41:486768[Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
2013-11-2613:41:486768[Note] InnoDB: Database was not shutdown normally!
2013-11-2613:41:486768[Note] InnoDB: Starting crash recovery.
2013-11-2613:41:486768[Note] InnoDB: Reading tablespace information from the .ibd files...
2013-11-2613:41:486768[Note] InnoDB: Restoring possible half-written data pages
2013-11-2613:41:486768[Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600617
2013-11-2613:41:486768[Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress inpercent: 282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
InnoDB: Apply batch completed
2013-11-2613:41:486768[Note] InnoDB: 128rollback segment(s) are active.
2013-11-2613:41:486768[Note] InnoDB: Waiting forpurge to start
2013-11-2613:41:486768[Note] InnoDB: 5.6.14started; log sequence number 1600617
2013-11-2613:41:546768[Note] Binlog end
2013-11-2613:41:546768[Note] InnoDB: FTS optimize thread exiting.
2013-11-2613:41:546768[Note] InnoDB: Starting shutdown...
2013-11-2613:41:556768[Note] InnoDB: Shutdown completed; log sequence number 1625997
OK
Filling help tables...2013-11-2613:41:550[Warning] TIMESTAMP withimplicit DEFAULT value isdeprecated. Please use--explicit_defaults_for_timestamp server option (see documentation formore details).
2013-11-2613:41:556793[Note] InnoDB: The InnoDB memory heap isdisabled
2013-11-2613:41:556793[Note] InnoDB: Mutexes and rw_locks useGCC atomic builtins
2013-11-2613:41:556793[Note] InnoDB: Compressed tables usezlib 1.2.3
2013-11-2613:41:556793[Note] InnoDB: Not using CPU crc32 instructions
2013-11-2613:41:556793[Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-11-2613:41:556793[Note] InnoDB: Completed initialization of buffer pool
2013-11-2613:41:556793[Note] InnoDB: Highest supported file format isBarracuda.
2013-11-2613:41:556793[Note] InnoDB: 128rollback segment(s) are active.
2013-11-2613:41:556793[Note] InnoDB: Waiting forpurge to start
2013-11-2613:41:556793[Note] InnoDB: 5.6.14started; log sequence number 1625997
2013-11-2613:41:556793[Note] Binlog end
2013-11-2613:41:556793[Note] InnoDB: FTS optimize thread exiting.
2013-11-2613:41:556793[Note] InnoDB: Starting shutdown...
2013-11-2613:41:576793[Note] InnoDB: Shutdown completed; log sequence number 1626007
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place foryour system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To doso, 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 pacteralinux 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 forproduction servers.
See the manual formore instructions.
You can start the MySQL daemon with:
cd . ; /usr/local/mysql/bin/mysqld_safe &
You can test the MySQL daemon withmysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems withthe ./bin/mysqlbug script!
The latest information about MySQL isavailable on the web at
http:
Support MySQL by buying support/licenses at http:
WARNING: Found existing config file /usr/local/mysql/my.cnf on the system.
Because thisfile might be inuse, it was not replaced,
but was used inbootstrap (unless you used --defaults-file)
and when you later start the server.
The newdefaultconfig file was created as/usr/local/mysql/my-new.cnf,
please compare it withyour file and take the changes you need.
WARNING: Default config file /etc/my.cnf exists on the system
This file will be read by defaultby the MySQL server
If you donot want to usethis, either remove it, or usethe
--defaults-file argument to mysqld_safe when starting the server