中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线

Board logo

標題: [求助] 奇怪了,我這臺機器的MYSQL就是弄不好,2.4也不行 [打印本頁]

作者: cnzjs    時間: 2012-6-19 12:14     標題: 奇怪了,我這臺機器的MYSQL就是弄不好,2.4也不行

每次安裝的時候PUTTY都會有一聲“嘟”的錯誤,都是在安裝到這里的時候
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

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

現在默認頁面可以打開,就是8080提示無法連接mysql,請檢查mysql是否已啟動及用戶密碼是否設置正確!:


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

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

CentOS 5.7 32位標準版  啥都沒
作者: cnzjs    時間: 2012-6-19 12:46

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

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

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

沒有。。。。。只有一個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    時間: 2012-6-19 13:31

/www/wdlinux/mysql/bin/mysql_install_db
運行下這個
作者: cnzjs    時間: 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    時間: 2012-6-19 13:52

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

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

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




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