|
mysqld.cc -o objs-thread/mysqld.o
mysqld.cc: In function `void init_signals()':
mysqld.cc:315: warning: assignment of negative value `-1' to `long unsigned int'
mysqld.cc: In function `void * signal_hand(void *)':
mysqld.cc:346: warning: assignment of negative value `-1' to `long unsigned int'
在Debian GNU/Linux上,如果你想要在系統啟動時自動啟動MySQL,做下列命令:
shell> cp support-files/mysql.server /etc/init.d/mysql.server
shell> /usr/sbin/update-rc.d mysql.server defaults 99
mysql.server可以在MySQL安裝目錄的“share/mysql”目錄下面找到, 或在MySQL源代碼樹的“support-files”目錄下找到。
如果mysqld在它啟動時總是核心傾倒(core dump), 問題可能是你有一個老版本的“/lib/libc.a”,重命名它,然後刪除“sql/mysqld”並且重新make install再試一試。這個問題在一些 Slackware 安裝上被報告了。有最新版本的glibc的RedHat 5.0也有一些類似的問題。見4.11.5.2 RedHat 5.0 注意事項。
如果再鏈接mysqld時,你得到下列錯誤, 它意味著你的“libg++.a”沒有正確安裝:
/usr/lib/libc.a(putc.o): In function `_IO_putc':
putc.o(.text+0x0): multiple definition of `_IO_putc'
像這樣咝衏onfigure,你能避免使用“libg++.a”:
shell> CXX=gcc ./configure |
|