永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放

Board logo

標(biāo)題: [求助] 奇怪了,我這臺(tái)機(jī)器的MYSQL就是弄不好,2.4也不行 [打印本頁]

作者: cnzjs    時(shí)間: 2012-6-19 12:14     標(biāo)題: 奇怪了,我這臺(tái)機(jī)器的MYSQL就是弄不好,2.4也不行

每次安裝的時(shí)候PUTTY都會(huì)有一聲“嘟”的錯(cuò)誤,都是在安裝到這里的時(shí)候
Making install in win
make[1]: Entering directory `/root/lanmp/mysql-5.1.61/win'
make[2]: Entering directory `/root/lanmp/mysql-5.1.61/win'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/lanmp/mysql-5.1.61/win'
make[1]: Leaving directory `/root/lanmp/mysql-5.1.61/win'
chown: cannot access `/www/wdlinux/mysql/var': No such file or directory
Starting MySQL.Manager of pid-file quit without updating fi[FAILED]
/www/wdlinux/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

pcre installing...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk

那個(gè)[FAILED]似乎就是錯(cuò)誤,安裝完畢有3行連續(xù)的ERROR 2002,然后service mysqld start提示的是
Starting Mysql.Manager of pid-file quit without updating fi[FAILED]
就不行了,昨晚弄了一夜,2.2,2.3都試了,然后給客服留了言,讓他幫我把這個(gè)VPS初始化一下,今早看到出了2.4,而且VPS又初始化了,應(yīng)該沒問題了,結(jié)果還是這樣,仔細(xì)一看出錯(cuò)的內(nèi)容,似乎是chown出錯(cuò),于是我創(chuàng)建了/www/wdlinux/mysql/var這個(gè)目錄,然后chown mysql:mysql 這個(gè)目錄
再service mysqld start,問題依舊

現(xiàn)在默認(rèn)頁面可以打開,就是8080提示無法連接mysql,請(qǐng)檢查mysql是否已啟動(dòng)及用戶密碼是否設(shè)置正確!:


求老大幫忙。。。。
作者: zsroot    時(shí)間: 2012-6-19 12:21

什么系統(tǒng),什么版本,系統(tǒng)里面有沒有自帶的服務(wù)器相關(guān)的軟件。
作者: cnzjs    時(shí)間: 2012-6-19 12:46

CentOS 5.7 32位標(biāo)準(zhǔn)版  啥都沒
作者: cnzjs    時(shí)間: 2012-6-19 12:46

我在這家又開了一個(gè)試用的VPS,一樣的系統(tǒng),居然沒問題。。。。難道我這臺(tái)被詛咒了?
作者: admin    時(shí)間: 2012-6-19 13:03

你看下/www/wdlinux/msyql/var目錄下有沒內(nèi)容?
正常情況下,這里會(huì)有
mysql
test
兩個(gè)目錄
以及一兩個(gè)文件
作者: admin    時(shí)間: 2012-6-19 13:04

如果沒有,就是在安裝創(chuàng)建mysql數(shù)據(jù)庫時(shí)沒成功
作者: cnzjs    時(shí)間: 2012-6-19 13:16

沒有。。。。。只有一個(gè)err文件。。我帖出來。。老大救命。。。
[root@a2515 var]# vi a2515.err

120619 12:06:21 mysqld_safe Starting mysqld daemon with databases from /www/wdlinux/mysql-5.1.61/var
/www/wdlinux/mysql-5.1.61/libexec/mysqld: Table 'mysql.plugin' doesn't exist
120619 12:06:21 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
120619 12:06:21 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
120619 12:06:21 mysqld_safe mysqld from pid file /www/wdlinux/mysql-5.1.61/var/a2515.pid ended
作者: admin    時(shí)間: 2012-6-19 13:31

/www/wdlinux/mysql/bin/mysql_install_db
運(yùn)行下這個(gè)
作者: cnzjs    時(shí)間: 2012-6-19 13:33

[root@a2515 bin]# mysql_install_db
Neither host 'a2515' nor 'localhost' could be looked up with
/www/wdlinux/mysql-5.1.61/bin/resolveip
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
[root@a2515 bin]#


這是啥意思。。。。
作者: cnzjs    時(shí)間: 2012-6-19 13:52

另外老大說的2.4新出的rpm安裝5分鐘就完事應(yīng)該怎么弄啊,我這還是編譯的,將近一個(gè)小時(shí)
作者: cnzjs    時(shí)間: 2012-6-19 14:12

可以了  /etc/hosts根本這文件就不存在,夠坑爹的
作者: admin    時(shí)間: 2012-6-19 17:22

什么系統(tǒng)?怎么會(huì)沒這個(gè)文件?




歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/) Powered by Discuz! 7.2