藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 數 據 庫


    

藍森林 http://www.lslnet.com 2006年8月26日 15:18


請高人幫忙,多謝!!

很想用mysql+php+apache+linux來搭建一個屬於自己的網站,可是摸索了幾天,還是有好多安裝問題。我先裝的是mysql,可是老失敗,各位指教一下嘍,謝謝!

安裝軟件包:mysql-standard-4.1.12-unknown-freebsd4.7-i386.tar.gz
用tar zxvf解壓縮很正常。在這裡我把它解壓到/tmp/download下,然後進入mysql-standard-4.1.12-unknown-freebsd4.7-i386.tar.gz 目錄,下面就出現問題了。
我用./configure -prefix=/usr/local/MySQL命令,出來以下提示信息:

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing all prepared tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h shanhu password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
Starting mysqld daemon with databases from /tmp/download/mysql-standard-5.0.0-alpha-pc-linux-i686/data
040811 15:13:54 mysqld ended

看提示信息似乎沒有必要再進行configure,make和make install,
請高人幫忙,多謝!!

請高人幫忙,多謝!!

自己頂一下!!!版主大哥呢!!!

請高人幫忙,多謝!!

基本安裝算是完了,你需要用mysql_install_db腳本,來初始化數據庫。執行mysql_install_db腳本,然後就能啟動數據庫了。

請高人幫忙,多謝!!

路過

請高人幫忙,多謝!!

過路,嘻



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com