在macos x server 10.1.4 編譯mysql

Mac OS X 平台上程式設計的相關問題討論

版主: bryanchangdigdog謝孟叡

回覆文章
內容
發表人
頭像
bryanchang
討論區管理員
文章: 7057
註冊時間: 04/19/2001 1:01 am
來自: The '60s
聯繫:

在macos x server 10.1.4 編譯mysql

#1 文章 bryanchang »

你可以到這裡直接抓編譯好的 MySQL 用,如此比較省時間:
http://www.entropy.ch/software/macosx/
willer
新生訓練中
文章: 5
註冊時間: 01/22/2002 1:01 am
來自: Taiwan

在macos x server 10.1.4 編譯mysql

#2 文章 willer »

如題 下載了mysql-3.23.47-apple-darwin5.1-powerpc.tar.gz 解開欲進行編譯

出現以下的訊息 該如何解決呢?
Sorry, the host 'macosxit' could not be looked up.
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
頭像
Ascent
留言破百
文章: 206
註冊時間: 04/30/2001 1:01 am
來自: G8
聯繫:

在macos x server 10.1.4 編譯mysql

#3 文章 Ascent »

<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 Willer:
<STRONG>如題 下載了mysql-3.23.47-apple-darwin5.1-powerpc.tar.gz 解開欲進行編譯
出現以下的訊息 該如何解決呢?
</STRONG><HR></BLOCKQUOTE>
咦~ 您下載的這個版本原則上是不用「編譯」啊 :-?

你只要解開他,然後依照他所指示的方法就好哩
install-binary 的片段安裝內容
<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/data
shell> chgrp -R mysql /usr/local/mysql
shell> chown -R root /usr/local/mysql/bin
shell> bin/safe_mysqld --user=mysql &
<HR></BLOCKQUOTE>
回覆文章