• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

mysql 启动有关问题

mysql 搞代码 7年前 (2018-05-31) 141次浏览 已收录 0个评论

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# 

——解决方案——————–
你编译完了没有启动数据库服务

Perl code


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:mysql 启动有关问题
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址