/usr/bin/install -c -m 644 'comp_err.1' '/usr/local/mysql/share/man/man1/comp_err.1'
/usr/bin/install -c -m 644 'innochecksum.1' '/usr/local/mysql/share/man/man1/innochecksum.1'
/usr/bin/install -c -m 644 'make_win_bin_dist.1' '/usr/local/mysql/share/man/man1/make_win_bin_dist.1'
/usr/bin/install -c -m 644 'msql2mysql.1' '/usr/local/mysql/share/man/man1/msql2mysql.1'
/usr/bin/install -c -m 644 'my_print_defaults.1' '/usr/local/mysql/share/man/man1/my_print_defaults.1'
/usr/bin/install -c -m 644 'myisam_ftdump.1' '/usr/local/mysql/share/man/man1/myisam_ftdump.1'
/usr/bin/install -c -m 644 'myisamchk.1' '/usr/local/mysql/share/man/man1/myisamchk.1'
/usr/bin/install -c -m 644 'myisamlog.1' '/usr/local/mysql/share/man/man1/myisamlog.1'
/usr/bin/install -c -m 644 'myisampack.1' '/usr/local/mysql/share/man/man1/myisampack.1'
/usr/bin/install -c -m 644 'mysql-stress-test.pl.1' '/usr/local/mysql/share/man/man1/mysql-stress-test.pl.1'
/usr/bin/install -c -m 644 'mysql-test-run.pl.1' '/usr/local/mysql/share/man/man1/mysql-test-run.pl.1'
/usr/bin/install -c -m 644 'mysql.1' '/usr/local/mysql/share/man/man1/mysql.1'
/usr/bin/install -c -m 644 'mysql.server.1' '/usr/local/mysql/share/man/man1/mysql.server.1'
/usr/bin/install -c -m 644 'mysql_client_test.1' '/usr/local/mysql/share/man/man1/mysql_client_test.1'
/usr/bin/install -c -m 644 'mysql_config.1' '/usr/local/mysql/share/man/man1/mysql_config.1'
/usr/bin/install -c -m 644 'mysql_convert_table_format.1' '/usr/local/mysql/share/man/man1/mysql_convert_table_format.1'
/usr/bin/install -c -m 644 'mysql_find_rows.1' '/usr/local/mysql/share/man/man1/mysql_find_rows.1'
/usr/bin/install -c -m 644 'mysql_fix_extensions.1' '/usr/local/mysql/share/man/man1/mysql_fix_extensions.1'
/usr/bin/install -c -m 644 'mysql_fix_privilege_tables.1' '/usr/local/mysql/share/man/man1/mysql_fix_privilege_tables.1'
/usr/bin/install -c -m 644 'mysql_install_db.1' '/usr/local/mysql/share/man/man1/mysql_install_db.1'
/usr/bin/install -c -m 644 'mysql_secure_installation.1' '/usr/local/mysql/share/man/man1/mysql_secure_installation.1'
/usr/bin/install -c -m 644 'mysql_setpermission.1' '/usr/local/mysql/share/man/man1/mysql_setpermission.1'
/usr/bin/install -c -m 644 'mysql_tzinfo_to_sql.1' '/usr/local/mysql/share/man/man1/mysql_tzinfo_to_sql.1'
/usr/bin/install -c -m 644 'mysql_upgrade.1' '/usr/local/mysql/share/man/man1/mysql_upgrade.1'
/usr/bin/install -c -m 644 'mysql_waitpid.1' '/usr/local/mysql/share/man/man1/mysql_waitpid.1'
/usr/bin/install -c -m 644 'mysql_zap.1' '/usr/local/mysql/share/man/man1/mysql_zap.1'
/usr/bin/install -c -m 644 'mysqlaccess.1' '/usr/local/mysql/share/man/man1/mysqlaccess.1'
/usr/bin/install -c -m 644 'mysqladmin.1' '/usr/local/mysql/share/man/man1/mysqladmin.1'
/usr/bin/install -c -m 644 'mysqlbinlog.1' '/usr/local/mysql/share/man/man1/mysqlbinlog.1'
/usr/bin/install -c -m 644 'mysqlbug.1' '/usr/local/mysql/share/man/man1/mysqlbug.1'
/usr/bin/install -c -m 644 'mysqlcheck.1' '/usr/local/mysql/share/man/man1/mysqlcheck.1'
/usr/bin/install -c -m 644 'mysqld_multi.1' '/usr/local/mysql/share/man/man1/mysqld_multi.1'
/usr/bin/install -c -m 644 'mysqld_safe.1' '/usr/local/mysql/share/man/man1/mysqld_safe.1'
/usr/bin/install -c -m 644 'mysqldump.1' '/usr/local/mysql/share/man/man1/mysqldump.1'
/usr/bin/install -c -m 644 'mysqldumpslow.1' '/usr/local/mysql/share/man/man1/mysqldumpslow.1'
/usr/bin/install -c -m 644 'mysqlhotcopy.1' '/usr/local/mysql/share/man/man1/mysqlhotcopy.1'
/usr/bin/install -c -m 644 'mysqlimport.1' '/usr/local/mysql/share/man/man1/mysqlimport.1'
/usr/bin/install -c -m 644 'mysqlman.1' '/usr/local/mysql/share/man/man1/mysqlman.1'
/usr/bin/install -c -m 644 'mysqlshow.1' '/usr/local/mysql/share/man/man1/mysqlshow.1'
/usr/bin/install -c -m 644 'mysqlslap.1' '/usr/local/mysql/share/man/man1/mysqlslap.1'
/usr/bin/install -c -m 644 'mysqltest.1' '/usr/local/mysql/share/man/man1/mysqltest.1'
/usr/bin/install -c -m 644 'perror.1' '/usr/local/mysql/share/man/man1/perror.1'
/usr/bin/install -c -m 644 'replace.1' '/usr/local/mysql/share/man/man1/replace.1'
/usr/bin/install -c -m 644 'resolve_stack_dump.1' '/usr/local/mysql/share/man/man1/resolve_stack_dump.1'
/usr/bin/install -c -m 644 'resolveip.1' '/usr/local/mysql/share/man/man1/resolveip.1'
test -z "/usr/local/mysql/share/man/man8" || /bin/mkdir -p "/usr/local/mysql/share/man/man8"
/usr/bin/install -c -m 644 'mysqld.8' '/usr/local/mysql/share/man/man8/mysqld.8'
/usr/bin/install -c -m 644 'mysqlmanager.8' '/usr/local/mysql/share/man/man8/mysqlmanager.8'
make install-data-hook
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/man'
rm -f /usr/local/mysql/share/man/man1/make_win_*
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/man'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/man'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/man'
Making install in tests
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/tests'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/tests'
test -z "/usr/local/mysql/bin" || /bin/mkdir -p "/usr/local/mysql/bin"
/bin/sh ../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'mysql_client_test' '/usr/local/mysql/bin/mysql_client_test'
libtool: install: /usr/bin/install -c .libs/mysql_client_test /usr/local/mysql/bin/mysql_client_test
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/tests'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/tests'
Making install in netware
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/netware'
make install-am
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/netware'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/netware'
test -z "/usr/local/mysql/bin" || /bin/mkdir -p "/usr/local/mysql/bin"
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/netware'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/netware'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/netware'
Making install in mysql-test
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
Making install in lib/My/SafeProcess
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/mysql-test/lib/My/SafeProcess" || /bin/mkdir -p "/usr/local/mysql/mysql-test/lib/My/SafeProcess"
/bin/sh ../../../../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'my_safe_process' '/usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process'
libtool: install: /usr/bin/install -c my_safe_process /usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[3]: Nothing to be done for `install-exec-am'.
make INSTALL_TO_DIR="/usr/local/mysql/mysql-test" install_test_files
make[4]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[4]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
test -z "/usr/local/mysql/mysql-test" || /bin/mkdir -p "/usr/local/mysql/mysql-test"
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'valgrind.supp' '/usr/local/mysql/mysql-test/valgrind.supp'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mysql-test-run.pl' '/usr/local/mysql/mysql-test/lib/v1/mysql-test-run.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_cases.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_cases.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_io.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_io.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_report.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_report.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/My/Config.pm' '/usr/local/mysql/mysql-test/lib/v1/My/Config.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_gcov.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_gcov.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_match.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_match.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_stress.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_stress.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/ndb_config_1_node.ini' '/usr/local/mysql/mysql-test/lib/v1/ndb_config_1_node.ini'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/ndb_config_2_node.ini' '/usr/local/mysql/mysql-test/lib/v1/ndb_config_2_node.ini'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_gprof.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_gprof.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_misc.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_misc.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_timer.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_timer.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_im.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_im.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_process.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_process.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_unique.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_unique.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_cases.pm' '/usr/local/mysql/mysql-test/lib/mtr_cases.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_gcov.pl' '/usr/local/mysql/mysql-test/lib/mtr_gcov.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_gprof.pl' '/usr/local/mysql/mysql-test/lib/mtr_gprof.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_io.pl' '/usr/local/mysql/mysql-test/lib/mtr_io.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_match.pm' '/usr/local/mysql/mysql-test/lib/mtr_match.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_misc.pl' '/usr/local/mysql/mysql-test/lib/mtr_misc.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_process.pl' '/usr/local/mysql/mysql-test/lib/mtr_process.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_report.pm' '/usr/local/mysql/mysql-test/lib/mtr_report.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_stress.pl' '/usr/local/mysql/mysql-test/lib/mtr_stress.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_unique.pm' '/usr/local/mysql/mysql-test/lib/mtr_unique.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/ConfigFactory.pm' '/usr/local/mysql/mysql-test/lib/My/ConfigFactory.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Config.pm' '/usr/local/mysql/mysql-test/lib/My/Config.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Find.pm' '/usr/local/mysql/mysql-test/lib/My/Find.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Handles.pm' '/usr/local/mysql/mysql-test/lib/My/Handles.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Options.pm' '/usr/local/mysql/mysql-test/lib/My/Options.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Test.pm' '/usr/local/mysql/mysql-test/lib/My/Test.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Platform.pm' '/usr/local/mysql/mysql-test/lib/My/Platform.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SafeProcess.pm' '/usr/local/mysql/mysql-test/lib/My/SafeProcess.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/File/Path.pm' '/usr/local/mysql/mysql-test/lib/My/File/Path.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SysInfo.pm' '/usr/local/mysql/mysql-test/lib/My/SysInfo.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/CoreDump.pm' '/usr/local/mysql/mysql-test/lib/My/CoreDump.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SafeProcess/Base.pm' '/usr/local/mysql/mysql-test/lib/My/SafeProcess/Base.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SafeProcess/safe_process.pl' '/usr/local/mysql/mysql-test/lib/My/SafeProcess/safe_process.pl'
test -z "/usr/local/mysql/mysql-test" || /bin/mkdir -p "/usr/local/mysql/mysql-test"
/usr/bin/install -c 'mtr' '/usr/local/mysql/mysql-test/mtr'
/usr/bin/install -c 'mysql-test-run' '/usr/local/mysql/mysql-test/mysql-test-run'
/usr/bin/install -c 'mysql-test-run.pl' '/usr/local/mysql/mysql-test/mysql-test-run.pl'
/usr/bin/install -c 'mysql-stress-test.pl' '/usr/local/mysql/mysql-test/mysql-stress-test.pl'
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
Making install in support-files
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files'
Making install in MacOSX
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
Making install in RHEL4-SElinux
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/share/aclocal" || /bin/mkdir -p "/usr/local/mysql/share/aclocal"
/usr/bin/install -c -m 644 'mysql.m4' '/usr/local/mysql/share/aclocal/mysql.m4'
test -z "/usr/local/mysql/share/mysql" || /bin/mkdir -p "/usr/local/mysql/share/mysql"
/usr/bin/install -c -m 644 'my-small.cnf' '/usr/local/mysql/share/mysql/my-small.cnf'
/usr/bin/install -c -m 644 'my-medium.cnf' '/usr/local/mysql/share/mysql/my-medium.cnf'
/usr/bin/install -c -m 644 'my-large.cnf' '/usr/local/mysql/share/mysql/my-large.cnf'
/usr/bin/install -c -m 644 'my-huge.cnf' '/usr/local/mysql/share/mysql/my-huge.cnf'
/usr/bin/install -c -m 644 'config.huge.ini' '/usr/local/mysql/share/mysql/config.huge.ini'
/usr/bin/install -c -m 644 'config.medium.ini' '/usr/local/mysql/share/mysql/config.medium.ini'
/usr/bin/install -c -m 644 'config.small.ini' '/usr/local/mysql/share/mysql/config.small.ini'
/usr/bin/install -c -m 644 'my-innodb-heavy-4G.cnf' '/usr/local/mysql/share/mysql/my-innodb-heavy-4G.cnf'
/usr/bin/install -c -m 644 'mysql-log-rotate' '/usr/local/mysql/share/mysql/mysql-log-rotate'
/usr/bin/install -c -m 644 'binary-configure' '/usr/local/mysql/share/mysql/binary-configure'
/usr/bin/install -c -m 644 'ndb-config-2-node.ini' '/usr/local/mysql/share/mysql/ndb-config-2-node.ini'
test -z "/usr/local/mysql/share/mysql" || /bin/mkdir -p "/usr/local/mysql/share/mysql"
/usr/bin/install -c 'mysql.server' '/usr/local/mysql/share/mysql/mysql.server'
/usr/bin/install -c 'mysqld_multi.server' '/usr/local/mysql/share/mysql/mysqld_multi.server'
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files'
Making install in sql-bench
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/sql-bench" || /bin/mkdir -p "/usr/local/mysql/sql-bench"
/usr/bin/install -c 'test-ATIS' '/usr/local/mysql/sql-bench/test-ATIS'
/usr/bin/install -c 'test-connect' '/usr/local/mysql/sql-bench/test-connect'
/usr/bin/install -c 'test-create' '/usr/local/mysql/sql-bench/test-create'
/usr/bin/install -c 'test-insert' '/usr/local/mysql/sql-bench/test-insert'
/usr/bin/install -c 'test-big-tables' '/usr/local/mysql/sql-bench/test-big-tables'
/usr/bin/install -c 'test-select' '/usr/local/mysql/sql-bench/test-select'
/usr/bin/install -c 'test-wisconsin' '/usr/local/mysql/sql-bench/test-wisconsin'
/usr/bin/install -c 'test-alter-table' '/usr/local/mysql/sql-bench/test-alter-table'
/usr/bin/install -c 'test-transactions' '/usr/local/mysql/sql-bench/test-transactions'
/usr/bin/install -c 'graph-compare-results' '/usr/local/mysql/sql-bench/graph-compare-results'
/usr/bin/install -c 'bench-init.pl' '/usr/local/mysql/sql-bench/bench-init.pl'
/usr/bin/install -c 'compare-results' '/usr/local/mysql/sql-bench/compare-results'
/usr/bin/install -c 'run-all-tests' '/usr/local/mysql/sql-bench/run-all-tests'
/usr/bin/install -c 'server-cfg' '/usr/local/mysql/sql-bench/server-cfg'
/usr/bin/install -c 'crash-me' '/usr/local/mysql/sql-bench/crash-me'
/usr/bin/install -c 'copy-db' '/usr/local/mysql/sql-bench/copy-db'
/usr/bin/install -c 'innotest1' '/usr/local/mysql/sql-bench/innotest1'
/usr/bin/install -c 'innotest1a' '/usr/local/mysql/sql-bench/innotest1a'
/usr/bin/install -c 'innotest1b' '/usr/local/mysql/sql-bench/innotest1b'
/usr/bin/install -c 'innotest2' '/usr/local/mysql/sql-bench/innotest2'
/usr/bin/install -c 'innotest2a' '/usr/local/mysql/sql-bench/innotest2a'
/usr/bin/install -c 'innotest2b' '/usr/local/mysql/sql-bench/innotest2b'
/usr/bin/install -c 'bench-count-distinct' '/usr/local/mysql/sql-bench/bench-count-distinct'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -d \
/usr/local/mysql/sql-bench/Data \
/usr/local/mysql/sql-bench/Data/ATIS \
/usr/local/mysql/sql-bench/Data/Wisconsin \
/usr/local/mysql/sql-bench/limits \
/usr/local/mysql/sql-bench/Comments
/usr/bin/install -c -m 644 ./README /usr/local/mysql/sql-bench
for i in ./Data/ATIS/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Data/ATIS ; done
for i in ./Data/Wisconsin/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Data/Wisconsin ; done
for i in ./limits/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/limits; done
for i in ./Comments/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Comments; done
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
Making install in server-tools
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools'
Making install in .
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools'
Making install in instance-manager
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
test -z "/usr/local/mysql/libexec" || /bin/mkdir -p "/usr/local/mysql/libexec"
/bin/sh ../../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'mysqlmanager' '/usr/local/mysql/libexec/mysqlmanager'
libtool: install: /usr/bin/install -c mysqlmanager /usr/local/mysql/libexec/mysqlmanager
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools'
Making install in win
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/win'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/win'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/win'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/win'
# /usr/local/mysql/bin/mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
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 localhost.localdomain 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 ; /usr/local/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/local/mysql/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/local/mysql/bin/mysqlbug script!
# useradd -M -o -r -d /var/lib/mysql -s /bin/bash -c "MySQL Server" -u 27 mysql
useradd:用户 mysql 已存在
# /usr/local/mysql/bin/safe_mysqld &
[1] 9147
# -bash: /usr/local/mysql/bin/safe_mysqld: 没有那个文件或目录
/usr/local/mysql/bin/safe_mysqld
-bash: /usr/local/mysql/bin/safe_mysqld: 没有那个文件或目录
[1]+ Exit 127 /usr/local/mysql/bin/safe_mysqld
# cd /usr/local/mysql/bin/safe_mysqld
-bash: cd: /usr/local/mysql/bin/safe_mysqld: 没有那个文件或目录
# cd /usr/local/mysql/bin/
# ls
innochecksum mysql_client_test mysql_secure_installation
msql2mysql mysql_config mysql_setpermission
myisamchk mysql_convert_table_format mysqlshow
myisam_ftdump mysqld_multi mysqlslap
myisamlog mysqld_safe mysqltest
myisampack mysqldump mysql_tzinfo_to_sql
my_print_defaults mysqldumpslow mysql_upgrade
mysql mysql_find_rows mysql_waitpid
mysqlaccess mysql_fix_extensions mysql_zap
mysqladmin mysql_fix_privilege_tables perror
mysqlbinlog mysqlhotcopy replace
mysqlbug mysqlimport resolveip
mysqlcheck mysql_install_db resolve_stack_dump
# ./mysqld_safe
111026 00:52:16 mysqld_safe Logging to '/var/lib/mysql/localhost.localdomain.err'.
111026 00:52:16 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
111026 00:52:16 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid ended
# mysql -uroot mysql
-bash: mysql: command not found
# ./mysql -uroot mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
# chown -R mysql:mysql /var/lib/mysql
# ./mysql -uroot mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
# chown -R root /usr/local/mysql
# chgrp -R mysql /usr/local/mysql
# chown -R root /usr/local/mysql/bin
# chgrp -R mysql /usr/local/mysql/bin
# chgrp -R mysql /var/lib/mysql
# chmod 777 /var/lib/mysql
# chown -R root /var/lib/mysql/mysql
# chgrp -R mysql /var/lib/mysql/mysql
# chmod 777 /var/lib/mysql/mysql
# chown -R root /var/lib/mysql/mysql/*
# chgrp -R mysql /var/lib/mysql/mysql/*
# chmod 777 /var/lib/mysql/mysql/*
# chmod 777 /usr/local/mysql/lib/mysql/libmysqlclient.a
# cp support-files/mysql.server /etc/rc.d/init.d/mysqld
cp: 无法 stat “support-files/mysql.server”: 没有那个文件或目录
# cd ../
# ls
bin docs include lib libexec mysql-test share sql-bench
# find / -name mysql.server
/usr/soft/src/mysql-5.5.17-linux2.6-i686/support-files/mysql.server
/usr/local/mysql/share/mysql/mysql.server
/home/chenzhineng/mysql-5.1.58/support-files/mysql.server
# cp /home/chenzhineng/mysql-5.1.58/support-files/mysql.server /etc/rc.d/init.d/mysqld
# chkconfig --add mysqld
# /etc/rc.d/init.d/mysqld start
-bash: /etc/rc.d/init.d/mysqld: 权限不够
# chmod 777 /etc/rc.d/init.d/mysqld start
chmod: 无法访问 “start”: 没有那个文件或目录
# chmod 777 /etc/rc.d/init.d/mysqld
# chmod 777 /etc/rc.d/init.d/mysqld start
chmod: 无法访问 “start”: 没有那个文件或目录
# /etc/rc.d/init.d/mysqld start
Starting MySQL. [确定]
# ln -s /usr/local/mysql/lib/mysql /usr/lib/mysql
# ln -s /usr/local/mysql/include/mysql /usr/include/mysql
#
/usr/bin/install -c -m 644 'innochecksum.1' '/usr/local/mysql/share/man/man1/innochecksum.1'
/usr/bin/install -c -m 644 'make_win_bin_dist.1' '/usr/local/mysql/share/man/man1/make_win_bin_dist.1'
/usr/bin/install -c -m 644 'msql2mysql.1' '/usr/local/mysql/share/man/man1/msql2mysql.1'
/usr/bin/install -c -m 644 'my_print_defaults.1' '/usr/local/mysql/share/man/man1/my_print_defaults.1'
/usr/bin/install -c -m 644 'myisam_ftdump.1' '/usr/local/mysql/share/man/man1/myisam_ftdump.1'
/usr/bin/install -c -m 644 'myisamchk.1' '/usr/local/mysql/share/man/man1/myisamchk.1'
/usr/bin/install -c -m 644 'myisamlog.1' '/usr/local/mysql/share/man/man1/myisamlog.1'
/usr/bin/install -c -m 644 'myisampack.1' '/usr/local/mysql/share/man/man1/myisampack.1'
/usr/bin/install -c -m 644 'mysql-stress-test.pl.1' '/usr/local/mysql/share/man/man1/mysql-stress-test.pl.1'
/usr/bin/install -c -m 644 'mysql-test-run.pl.1' '/usr/local/mysql/share/man/man1/mysql-test-run.pl.1'
/usr/bin/install -c -m 644 'mysql.1' '/usr/local/mysql/share/man/man1/mysql.1'
/usr/bin/install -c -m 644 'mysql.server.1' '/usr/local/mysql/share/man/man1/mysql.server.1'
/usr/bin/install -c -m 644 'mysql_client_test.1' '/usr/local/mysql/share/man/man1/mysql_client_test.1'
/usr/bin/install -c -m 644 'mysql_config.1' '/usr/local/mysql/share/man/man1/mysql_config.1'
/usr/bin/install -c -m 644 'mysql_convert_table_format.1' '/usr/local/mysql/share/man/man1/mysql_convert_table_format.1'
/usr/bin/install -c -m 644 'mysql_find_rows.1' '/usr/local/mysql/share/man/man1/mysql_find_rows.1'
/usr/bin/install -c -m 644 'mysql_fix_extensions.1' '/usr/local/mysql/share/man/man1/mysql_fix_extensions.1'
/usr/bin/install -c -m 644 'mysql_fix_privilege_tables.1' '/usr/local/mysql/share/man/man1/mysql_fix_privilege_tables.1'
/usr/bin/install -c -m 644 'mysql_install_db.1' '/usr/local/mysql/share/man/man1/mysql_install_db.1'
/usr/bin/install -c -m 644 'mysql_secure_installation.1' '/usr/local/mysql/share/man/man1/mysql_secure_installation.1'
/usr/bin/install -c -m 644 'mysql_setpermission.1' '/usr/local/mysql/share/man/man1/mysql_setpermission.1'
/usr/bin/install -c -m 644 'mysql_tzinfo_to_sql.1' '/usr/local/mysql/share/man/man1/mysql_tzinfo_to_sql.1'
/usr/bin/install -c -m 644 'mysql_upgrade.1' '/usr/local/mysql/share/man/man1/mysql_upgrade.1'
/usr/bin/install -c -m 644 'mysql_waitpid.1' '/usr/local/mysql/share/man/man1/mysql_waitpid.1'
/usr/bin/install -c -m 644 'mysql_zap.1' '/usr/local/mysql/share/man/man1/mysql_zap.1'
/usr/bin/install -c -m 644 'mysqlaccess.1' '/usr/local/mysql/share/man/man1/mysqlaccess.1'
/usr/bin/install -c -m 644 'mysqladmin.1' '/usr/local/mysql/share/man/man1/mysqladmin.1'
/usr/bin/install -c -m 644 'mysqlbinlog.1' '/usr/local/mysql/share/man/man1/mysqlbinlog.1'
/usr/bin/install -c -m 644 'mysqlbug.1' '/usr/local/mysql/share/man/man1/mysqlbug.1'
/usr/bin/install -c -m 644 'mysqlcheck.1' '/usr/local/mysql/share/man/man1/mysqlcheck.1'
/usr/bin/install -c -m 644 'mysqld_multi.1' '/usr/local/mysql/share/man/man1/mysqld_multi.1'
/usr/bin/install -c -m 644 'mysqld_safe.1' '/usr/local/mysql/share/man/man1/mysqld_safe.1'
/usr/bin/install -c -m 644 'mysqldump.1' '/usr/local/mysql/share/man/man1/mysqldump.1'
/usr/bin/install -c -m 644 'mysqldumpslow.1' '/usr/local/mysql/share/man/man1/mysqldumpslow.1'
/usr/bin/install -c -m 644 'mysqlhotcopy.1' '/usr/local/mysql/share/man/man1/mysqlhotcopy.1'
/usr/bin/install -c -m 644 'mysqlimport.1' '/usr/local/mysql/share/man/man1/mysqlimport.1'
/usr/bin/install -c -m 644 'mysqlman.1' '/usr/local/mysql/share/man/man1/mysqlman.1'
/usr/bin/install -c -m 644 'mysqlshow.1' '/usr/local/mysql/share/man/man1/mysqlshow.1'
/usr/bin/install -c -m 644 'mysqlslap.1' '/usr/local/mysql/share/man/man1/mysqlslap.1'
/usr/bin/install -c -m 644 'mysqltest.1' '/usr/local/mysql/share/man/man1/mysqltest.1'
/usr/bin/install -c -m 644 'perror.1' '/usr/local/mysql/share/man/man1/perror.1'
/usr/bin/install -c -m 644 'replace.1' '/usr/local/mysql/share/man/man1/replace.1'
/usr/bin/install -c -m 644 'resolve_stack_dump.1' '/usr/local/mysql/share/man/man1/resolve_stack_dump.1'
/usr/bin/install -c -m 644 'resolveip.1' '/usr/local/mysql/share/man/man1/resolveip.1'
test -z "/usr/local/mysql/share/man/man8" || /bin/mkdir -p "/usr/local/mysql/share/man/man8"
/usr/bin/install -c -m 644 'mysqld.8' '/usr/local/mysql/share/man/man8/mysqld.8'
/usr/bin/install -c -m 644 'mysqlmanager.8' '/usr/local/mysql/share/man/man8/mysqlmanager.8'
make install-data-hook
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/man'
rm -f /usr/local/mysql/share/man/man1/make_win_*
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/man'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/man'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/man'
Making install in tests
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/tests'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/tests'
test -z "/usr/local/mysql/bin" || /bin/mkdir -p "/usr/local/mysql/bin"
/bin/sh ../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'mysql_client_test' '/usr/local/mysql/bin/mysql_client_test'
libtool: install: /usr/bin/install -c .libs/mysql_client_test /usr/local/mysql/bin/mysql_client_test
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/tests'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/tests'
Making install in netware
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/netware'
make install-am
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/netware'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/netware'
test -z "/usr/local/mysql/bin" || /bin/mkdir -p "/usr/local/mysql/bin"
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/netware'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/netware'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/netware'
Making install in mysql-test
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
Making install in lib/My/SafeProcess
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/mysql-test/lib/My/SafeProcess" || /bin/mkdir -p "/usr/local/mysql/mysql-test/lib/My/SafeProcess"
/bin/sh ../../../../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'my_safe_process' '/usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process'
libtool: install: /usr/bin/install -c my_safe_process /usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test/lib/My/SafeProcess'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[3]: Nothing to be done for `install-exec-am'.
make INSTALL_TO_DIR="/usr/local/mysql/mysql-test" install_test_files
make[4]: Entering directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[4]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
test -z "/usr/local/mysql/mysql-test" || /bin/mkdir -p "/usr/local/mysql/mysql-test"
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'valgrind.supp' '/usr/local/mysql/mysql-test/valgrind.supp'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mysql-test-run.pl' '/usr/local/mysql/mysql-test/lib/v1/mysql-test-run.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_cases.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_cases.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_io.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_io.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_report.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_report.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/My/Config.pm' '/usr/local/mysql/mysql-test/lib/v1/My/Config.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_gcov.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_gcov.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_match.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_match.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_stress.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_stress.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/ndb_config_1_node.ini' '/usr/local/mysql/mysql-test/lib/v1/ndb_config_1_node.ini'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/ndb_config_2_node.ini' '/usr/local/mysql/mysql-test/lib/v1/ndb_config_2_node.ini'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_gprof.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_gprof.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_misc.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_misc.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_timer.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_timer.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_im.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_im.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_process.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_process.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/v1/mtr_unique.pl' '/usr/local/mysql/mysql-test/lib/v1/mtr_unique.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_cases.pm' '/usr/local/mysql/mysql-test/lib/mtr_cases.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_gcov.pl' '/usr/local/mysql/mysql-test/lib/mtr_gcov.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_gprof.pl' '/usr/local/mysql/mysql-test/lib/mtr_gprof.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_io.pl' '/usr/local/mysql/mysql-test/lib/mtr_io.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_match.pm' '/usr/local/mysql/mysql-test/lib/mtr_match.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_misc.pl' '/usr/local/mysql/mysql-test/lib/mtr_misc.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_process.pl' '/usr/local/mysql/mysql-test/lib/mtr_process.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_report.pm' '/usr/local/mysql/mysql-test/lib/mtr_report.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_stress.pl' '/usr/local/mysql/mysql-test/lib/mtr_stress.pl'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/mtr_unique.pm' '/usr/local/mysql/mysql-test/lib/mtr_unique.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/ConfigFactory.pm' '/usr/local/mysql/mysql-test/lib/My/ConfigFactory.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Config.pm' '/usr/local/mysql/mysql-test/lib/My/Config.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Find.pm' '/usr/local/mysql/mysql-test/lib/My/Find.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Handles.pm' '/usr/local/mysql/mysql-test/lib/My/Handles.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Options.pm' '/usr/local/mysql/mysql-test/lib/My/Options.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Test.pm' '/usr/local/mysql/mysql-test/lib/My/Test.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/Platform.pm' '/usr/local/mysql/mysql-test/lib/My/Platform.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SafeProcess.pm' '/usr/local/mysql/mysql-test/lib/My/SafeProcess.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/File/Path.pm' '/usr/local/mysql/mysql-test/lib/My/File/Path.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SysInfo.pm' '/usr/local/mysql/mysql-test/lib/My/SysInfo.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/CoreDump.pm' '/usr/local/mysql/mysql-test/lib/My/CoreDump.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SafeProcess/Base.pm' '/usr/local/mysql/mysql-test/lib/My/SafeProcess/Base.pm'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -c -m 644 'lib/My/SafeProcess/safe_process.pl' '/usr/local/mysql/mysql-test/lib/My/SafeProcess/safe_process.pl'
test -z "/usr/local/mysql/mysql-test" || /bin/mkdir -p "/usr/local/mysql/mysql-test"
/usr/bin/install -c 'mtr' '/usr/local/mysql/mysql-test/mtr'
/usr/bin/install -c 'mysql-test-run' '/usr/local/mysql/mysql-test/mysql-test-run'
/usr/bin/install -c 'mysql-test-run.pl' '/usr/local/mysql/mysql-test/mysql-test-run.pl'
/usr/bin/install -c 'mysql-stress-test.pl' '/usr/local/mysql/mysql-test/mysql-stress-test.pl'
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/mysql-test'
Making install in support-files
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files'
Making install in MacOSX
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/MacOSX'
Making install in RHEL4-SElinux
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files/RHEL4-SElinux'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/share/aclocal" || /bin/mkdir -p "/usr/local/mysql/share/aclocal"
/usr/bin/install -c -m 644 'mysql.m4' '/usr/local/mysql/share/aclocal/mysql.m4'
test -z "/usr/local/mysql/share/mysql" || /bin/mkdir -p "/usr/local/mysql/share/mysql"
/usr/bin/install -c -m 644 'my-small.cnf' '/usr/local/mysql/share/mysql/my-small.cnf'
/usr/bin/install -c -m 644 'my-medium.cnf' '/usr/local/mysql/share/mysql/my-medium.cnf'
/usr/bin/install -c -m 644 'my-large.cnf' '/usr/local/mysql/share/mysql/my-large.cnf'
/usr/bin/install -c -m 644 'my-huge.cnf' '/usr/local/mysql/share/mysql/my-huge.cnf'
/usr/bin/install -c -m 644 'config.huge.ini' '/usr/local/mysql/share/mysql/config.huge.ini'
/usr/bin/install -c -m 644 'config.medium.ini' '/usr/local/mysql/share/mysql/config.medium.ini'
/usr/bin/install -c -m 644 'config.small.ini' '/usr/local/mysql/share/mysql/config.small.ini'
/usr/bin/install -c -m 644 'my-innodb-heavy-4G.cnf' '/usr/local/mysql/share/mysql/my-innodb-heavy-4G.cnf'
/usr/bin/install -c -m 644 'mysql-log-rotate' '/usr/local/mysql/share/mysql/mysql-log-rotate'
/usr/bin/install -c -m 644 'binary-configure' '/usr/local/mysql/share/mysql/binary-configure'
/usr/bin/install -c -m 644 'ndb-config-2-node.ini' '/usr/local/mysql/share/mysql/ndb-config-2-node.ini'
test -z "/usr/local/mysql/share/mysql" || /bin/mkdir -p "/usr/local/mysql/share/mysql"
/usr/bin/install -c 'mysql.server' '/usr/local/mysql/share/mysql/mysql.server'
/usr/bin/install -c 'mysqld_multi.server' '/usr/local/mysql/share/mysql/mysqld_multi.server'
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/support-files'
Making install in sql-bench
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/mysql/sql-bench" || /bin/mkdir -p "/usr/local/mysql/sql-bench"
/usr/bin/install -c 'test-ATIS' '/usr/local/mysql/sql-bench/test-ATIS'
/usr/bin/install -c 'test-connect' '/usr/local/mysql/sql-bench/test-connect'
/usr/bin/install -c 'test-create' '/usr/local/mysql/sql-bench/test-create'
/usr/bin/install -c 'test-insert' '/usr/local/mysql/sql-bench/test-insert'
/usr/bin/install -c 'test-big-tables' '/usr/local/mysql/sql-bench/test-big-tables'
/usr/bin/install -c 'test-select' '/usr/local/mysql/sql-bench/test-select'
/usr/bin/install -c 'test-wisconsin' '/usr/local/mysql/sql-bench/test-wisconsin'
/usr/bin/install -c 'test-alter-table' '/usr/local/mysql/sql-bench/test-alter-table'
/usr/bin/install -c 'test-transactions' '/usr/local/mysql/sql-bench/test-transactions'
/usr/bin/install -c 'graph-compare-results' '/usr/local/mysql/sql-bench/graph-compare-results'
/usr/bin/install -c 'bench-init.pl' '/usr/local/mysql/sql-bench/bench-init.pl'
/usr/bin/install -c 'compare-results' '/usr/local/mysql/sql-bench/compare-results'
/usr/bin/install -c 'run-all-tests' '/usr/local/mysql/sql-bench/run-all-tests'
/usr/bin/install -c 'server-cfg' '/usr/local/mysql/sql-bench/server-cfg'
/usr/bin/install -c 'crash-me' '/usr/local/mysql/sql-bench/crash-me'
/usr/bin/install -c 'copy-db' '/usr/local/mysql/sql-bench/copy-db'
/usr/bin/install -c 'innotest1' '/usr/local/mysql/sql-bench/innotest1'
/usr/bin/install -c 'innotest1a' '/usr/local/mysql/sql-bench/innotest1a'
/usr/bin/install -c 'innotest1b' '/usr/local/mysql/sql-bench/innotest1b'
/usr/bin/install -c 'innotest2' '/usr/local/mysql/sql-bench/innotest2'
/usr/bin/install -c 'innotest2a' '/usr/local/mysql/sql-bench/innotest2a'
/usr/bin/install -c 'innotest2b' '/usr/local/mysql/sql-bench/innotest2b'
/usr/bin/install -c 'bench-count-distinct' '/usr/local/mysql/sql-bench/bench-count-distinct'
/bin/sh /home/chenzhineng/mysql-5.1.58/install-sh -d \
/usr/local/mysql/sql-bench/Data \
/usr/local/mysql/sql-bench/Data/ATIS \
/usr/local/mysql/sql-bench/Data/Wisconsin \
/usr/local/mysql/sql-bench/limits \
/usr/local/mysql/sql-bench/Comments
/usr/bin/install -c -m 644 ./README /usr/local/mysql/sql-bench
for i in ./Data/ATIS/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Data/ATIS ; done
for i in ./Data/Wisconsin/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Data/Wisconsin ; done
for i in ./limits/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/limits; done
for i in ./Comments/*.* ; do /usr/bin/install -c -m 644 $i /usr/local/mysql/sql-bench/Comments; done
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/sql-bench'
Making install in server-tools
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools'
Making install in .
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools'
Making install in instance-manager
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
make[3]: Entering directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
test -z "/usr/local/mysql/libexec" || /bin/mkdir -p "/usr/local/mysql/libexec"
/bin/sh ../../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'mysqlmanager' '/usr/local/mysql/libexec/mysqlmanager'
libtool: install: /usr/bin/install -c mysqlmanager /usr/local/mysql/libexec/mysqlmanager
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools/instance-manager'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/server-tools'
Making install in win
make[1]: Entering directory `/home/chenzhineng/mysql-5.1.58/win'
make[2]: Entering directory `/home/chenzhineng/mysql-5.1.58/win'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/chenzhineng/mysql-5.1.58/win'
make[1]: Leaving directory `/home/chenzhineng/mysql-5.1.58/win'
# /usr/local/mysql/bin/mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
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 localhost.localdomain 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 ; /usr/local/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/local/mysql/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/local/mysql/bin/mysqlbug script!
# useradd -M -o -r -d /var/lib/mysql -s /bin/bash -c "MySQL Server" -u 27 mysql
useradd:用户 mysql 已存在
# /usr/local/mysql/bin/safe_mysqld &
[1] 9147
# -bash: /usr/local/mysql/bin/safe_mysqld: 没有那个文件或目录
/usr/local/mysql/bin/safe_mysqld
-bash: /usr/local/mysql/bin/safe_mysqld: 没有那个文件或目录
[1]+ Exit 127 /usr/local/mysql/bin/safe_mysqld
# cd /usr/local/mysql/bin/safe_mysqld
-bash: cd: /usr/local/mysql/bin/safe_mysqld: 没有那个文件或目录
# cd /usr/local/mysql/bin/
# ls
innochecksum mysql_client_test mysql_secure_installation
msql2mysql mysql_config mysql_setpermission
myisamchk mysql_convert_table_format mysqlshow
myisam_ftdump mysqld_multi mysqlslap
myisamlog mysqld_safe mysqltest
myisampack mysqldump mysql_tzinfo_to_sql
my_print_defaults mysqldumpslow mysql_upgrade
mysql mysql_find_rows mysql_waitpid
mysqlaccess mysql_fix_extensions mysql_zap
mysqladmin mysql_fix_privilege_tables perror
mysqlbinlog mysqlhotcopy replace
mysqlbug mysqlimport resolveip
mysqlcheck mysql_install_db resolve_stack_dump
# ./mysqld_safe
111026 00:52:16 mysqld_safe Logging to '/var/lib/mysql/localhost.localdomain.err'.
111026 00:52:16 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
111026 00:52:16 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid ended
# mysql -uroot mysql
-bash: mysql: command not found
# ./mysql -uroot mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
# chown -R mysql:mysql /var/lib/mysql
# ./mysql -uroot mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
# chown -R root /usr/local/mysql
# chgrp -R mysql /usr/local/mysql
# chown -R root /usr/local/mysql/bin
# chgrp -R mysql /usr/local/mysql/bin
# chgrp -R mysql /var/lib/mysql
# chmod 777 /var/lib/mysql
# chown -R root /var/lib/mysql/mysql
# chgrp -R mysql /var/lib/mysql/mysql
# chmod 777 /var/lib/mysql/mysql
# chown -R root /var/lib/mysql/mysql/*
# chgrp -R mysql /var/lib/mysql/mysql/*
# chmod 777 /var/lib/mysql/mysql/*
# chmod 777 /usr/local/mysql/lib/mysql/libmysqlclient.a
# cp support-files/mysql.server /etc/rc.d/init.d/mysqld
cp: 无法 stat “support-files/mysql.server”: 没有那个文件或目录
# cd ../
# ls
bin docs include lib libexec mysql-test share sql-bench
# find / -name mysql.server
/usr/soft/src/mysql-5.5.17-linux2.6-i686/support-files/mysql.server
/usr/local/mysql/share/mysql/mysql.server
/home/chenzhineng/mysql-5.1.58/support-files/mysql.server
# cp /home/chenzhineng/mysql-5.1.58/support-files/mysql.server /etc/rc.d/init.d/mysqld
# chkconfig --add mysqld
# /etc/rc.d/init.d/mysqld start
-bash: /etc/rc.d/init.d/mysqld: 权限不够
# chmod 777 /etc/rc.d/init.d/mysqld start
chmod: 无法访问 “start”: 没有那个文件或目录
# chmod 777 /etc/rc.d/init.d/mysqld
# chmod 777 /etc/rc.d/init.d/mysqld start
chmod: 无法访问 “start”: 没有那个文件或目录
# /etc/rc.d/init.d/mysqld start
Starting MySQL. [确定]
# ln -s /usr/local/mysql/lib/mysql /usr/lib/mysql
# ln -s /usr/local/mysql/include/mysql /usr/include/mysql
#