你可以到這裡直接抓編譯好的 MySQL 用,如此比較省時間:
http://www.entropy.ch/software/macosx/
在macos x server 10.1.4 編譯mysql
版主: bryanchang、digdog、謝孟叡
- bryanchang
- 討論區管理員
- 文章: 7057
- 註冊時間: 04/19/2001 1:01 am
- 來自: The '60s
- 聯繫:
在macos x server 10.1.4 編譯mysql
如題 下載了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
出現以下的訊息 該如何解決呢?
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
在macos x server 10.1.4 編譯mysql
<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>
<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>