Re: 戌bFreeBSD安裝MySQL發生有關mysql.sock的問題

看板FreeBSD作者時間21年前 (2004/09/25 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/8 (看更多)
※ 引述《Loki (我的征途是星星的大海)》之銘言: > ※ 引述《JoeHorn.bbs@Star.leobbs.net (獅子男)》之銘言: > > 那行是用 ports 裝才用的, 您有先確認 /usr/local/mysql/share/mysql/mysql.server > > 這個檔案是否存在嗎? 沒有的話當然不會執行. > > source tarball 裡面預設的 mysql.server 放在解開後的 support-files 這個目錄底下, > > 請自己 cp 到你想要放置的目錄並 chmod 成 700 或 755 , > > 再把 cp 產生的 mysql.server 加到 /etc/rc.local 執行. > 我想我把步驟整個PO上來好了 > # vipw > 加入 mysql:*:100:100::0:0:Database:/usr/local/mysql:/sbin/nologin > # ee /etc/group > 加入 mysql:*:100: > 解開mysql-4.0.21.tar.gz > # cd mysql-4.0.21 > # ./configure --prefix=/usr/local/mysql --with-low-memory > # make > # make install clean > # scripts/mysql_install_db > # chown -R mysql:mysql /usr/local/mysql > # ./mysql.server start > # cd /usr/lcoal/mysql/bin > # ./mysql mysql > 上次安裝也是用這個步驟 > 但是都沒有什麼問題 > 現在就怪怪的 > 我確定/tmp/mysql.sock是存在的 > 只是mysqld一直跑不起來 > 還有 > 我本來是想安裝mysql-4.1.5 > 但是make無法成功 > 出現的訊息也看不出問題在哪裡 > 晚一點我把東西PO上來好了 以下是log檔的內容 040924 13:39:36 mysqld started 040924 13:39:36 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.php for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 040924 13:39:36 mysqld ended 040924 14:14:32 mysqld started 040924 14:14:32 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.php for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 040924 14:14:32 mysqld ended 040924 14:23:13 mysqld started 040924 14:23:13 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.php for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 040924 14:23:13 mysqld ended 040924 14:44:20 mysqld started 040924 14:44:21 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.php for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 040924 14:44:21 mysqld ended 040924 16:24:56 mysqld started 040924 16:24:56 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.php for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 040924 16:24:56 mysqld ended 040924 17:10:39 mysqld started 040924 17:10:39 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.php for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 040924 17:10:39 mysqld ended 040924 17:27:31 mysqld started 040924 17:27:31 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.php for installation help. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 040924 17:27:31 mysqld ended -- 馳騁天空、響徹大地 突破大氣的雷精靈呀 施展你最大的力量 將所有力量聚集在我的手中 擊碎萬物的力量呀激.滅.轟.雷 -- Origin: 海大資工˙網際時空 bbs.cs.ntou.edu.tw Author: Loki 218-174-138-227.dynamic.hinet.net 發表
文章代碼(AID): #11LD5W00 (FreeBSD)
文章代碼(AID): #11LD5W00 (FreeBSD)