亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 1565 | 回復(fù): 3
打印 上一主題 下一主題

求助——mysql4.1.10a在freebsd4.10上無(wú)法安裝的問(wèn)題! [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2005-05-20 21:17 |只看該作者 |倒序?yàn)g覽
freebsd是新裝的,采用mini版在vmware中安裝。

啟用了基本的inetd服務(wù),打開(kāi)了ftp,基本上算是很干凈。

但是,mysql解壓完畢后,進(jìn)入安裝目錄,./configure --prefix=/usr/local/mysql后,卻出現(xiàn)了如下錯(cuò)誤:
------------------------------------------
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.

WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
Fill help 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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h  password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

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
# chown: mysql: illegal user name
Starting mysqld daemon with databases from /home/fzx/mysql-standard-4.1.10a-unknown-freebsd4.7-i386/data
STOPPING server from pid file /home/fzx/mysql-standard-4.1.10a-unknown-freebsd4.7-i386/data/.pid
050520 06:01:08  mysqld ended

--------------------------------------------------

何故?不解!

請(qǐng)高手指點(diǎn)。謝!

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2005-05-23 09:26 |只看該作者

求助——mysql4.1.10a在freebsd4.10上無(wú)法安裝的問(wèn)題!

奇怪,沒(méi)有人碰到相同問(wèn)題嗎?

難道是我下錯(cuò)了版本?

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2005-05-24 17:46 |只看該作者

求助——mysql4.1.10a在freebsd4.10上無(wú)法安裝的問(wèn)題!

好象是說(shuō)你的mysql是已經(jīng)編譯好的

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2005-05-25 10:45 |只看該作者

求助——mysql4.1.10a在freebsd4.10上無(wú)法安裝的問(wèn)題!

是啊,樓上的兄弟說(shuō)的不錯(cuò),我也發(fā)現(xiàn)了這個(gè)問(wèn)題。
以前一般用ports安裝,而且像apache,php等也都需要./configure(也就是說(shuō)基本都是原代碼包),還真沒(méi)想到mysql是編譯好的二進(jìn)制包啊,估計(jì)主要可能是mysql的包相對(duì)較大,讓用戶編譯不方便。

其實(shí)只要解壓就基本可用了,但是也注意解壓后目錄的歸屬和權(quán)限問(wèn)題,這點(diǎn)非常重要!
具體步驟如下(使用的是mysql-standard-4.1.12-unknown-freebsd4.7-i386.tar.gz):
-----------------------
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 full-path-to-mysql-VERSION-OS mysql
shell>; cd mysql
shell>; scripts/mysql_install_db
shell>; chown -R root  .
shell>; chown -R mysql data
shell>; chgrp -R mysql .
shell>; bin/safe_mysqld --user=mysql &
or
shell>; bin/mysqld_safe --user=mysql &
if you are running MySQL 4.x
-----------------------
前兩句是添加組和用戶,可能是linux版的命令,在freebsd中無(wú)法執(zhí)行,請(qǐng)自想辦法添加。
我找過(guò)論壇,看到以前也出現(xiàn)過(guò)類似的問(wèn)題,一時(shí)看不懂,現(xiàn)在才明白,希望大家少走彎路。
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP