- 爱易网页
-
MySQL教程
- mysql 启动有关问题
日期:2014-05-16 浏览次数:20843 次
mysql 启动问题
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/bash /home/licy/mysql-5.1.47/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]:正在离开目录 `/home/licy/mysql-5.1.47/sql-bench'
make[1]:正在离开目录 `/home/licy/mysql-5.1.47/sql-bench'
Making install in win
make[1]: 正在进入目录 `/home/licy/mysql-5.1.47/win'
make[2]: 正在进入目录 `/home/licy/mysql-5.1.47/win'
make[2]: 没有什么可以做的为 `install-exec-am'。
make[2]: 没有什么可以做的为 `install-data-am'。
make[2]:正在离开目录 `/home/licy/mysql-5.1.47/win'
make[1]:正在离开目录 `/home/licy/mysql-5.1.47/win'
root@licy-desktop:~/mysql-5.1.47# cd ..
root@licy-desktop:~# rm -fr mysql-5.1.47*
root@licy-desktop:~# cd /usr/local/mysql/bin
root@licy-desktop:/usr/local/mysql/bin# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
root@licy-desktop:/usr/local/mysql/bin# cd /usr/local/mysql/support-files
bash: cd: /usr/local/mysql/support-files: 没有那个文件或目录
root@licy-desktop:/usr/local/mysql/bin# ^C
root@licy-desktop:/usr/local/mysql/bin#
------解决方案--------------------