看板FreeBSD
标 题Re: 想重编MYSQL??不知道怎麽编??
发信站清华资讯(枫桥驿站) (Sun Feb 26 18:49:58 2006)
转信站ptt!ctu-reader!Spring!news.nctu!news.ntu!news.ee.ttu!netnews.csie.nctu
※ 引述《lupin (小菜)》之铭言:
> ※ 引述《lupin (小菜)》之铭言:
> > 请教一下,
> > 现在我机器的MYSQL重灌,(用PORT装)
> > 不过下make install clean後
> > 出现以下资讯:
> > =======================================
> > You may use the following build options:
> > WITH_CHARSET=charset Define the primary built-in charset (latin1).
> > WITH_XCHARSET=list Define other built-in charsets (may be 'all').
> > WITH_COLLATION=collate Define default collation (latin1_swedish_ci).
> > WITH_OPENSSL=yes Enable secure connections.
> > WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
> > WITH_PROC_SCOPE_PTH=yes Use process scope threads
> > (try it if you use libpthread).
> > BUILD_OPTIMIZED=yes Enable compiler optimizations
> > (use it if you need speed).
> > BUILD_STATIC=yes Build a static version of mysqld.
> > (use it if you need even more speed).
> > WITHOUT_INNODB=yes Disable support for InnoDB table handler.
> > WITH_NDB=yes Enable support for NDB Cluster.
> > ==============================================================================
> > 现在我是需要UTF8编码
> > 其他暂时还没有想到
> > 请问我要怎麽编比较好呢??
> > 谢谢!
> 刚刚编完後
> 下了以下两行指令:
> /usr/local/etc/rc.d/mysql-server.sh start
> /usr/local/bin/mysql mysql
> 结果出现下列讯息:
> ================================================================
> ERROR 2002 (HY000): Can't connect to local MySQL server
> through socket '/tmp/mysql.sock' (2)
> ================================================================
> 请问要如何处理呢??谢谢
最後个人是到/var/db
然後将MYSQL资料夹全砍了,
这样就OK了!
GOOGLE找上述错误讯息
说明是说MYSQL未启动,
不过我明明下了
/usr/local/etc/rc.d/mysql-server.sh start
真奇怪!
--
※ Origin: 枫桥驿站<bbs.cs.nthu.edu.tw> ◆ From: 218-171-161-48.dynamic.hinet.net