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

Board logo

標(biāo)題: [已解決] Wdcp 數(shù)據(jù)庫(kù)連接服務(wù),求助 [打印本頁(yè)]

作者: lixi.china    時(shí)間: 2012-7-3 16:29     標(biāo)題: Wdcp 數(shù)據(jù)庫(kù)連接服務(wù),求助

本帖最后由 lixi.china 于 2012-7-5 13:20 編輯

求助朋友。

網(wǎng)站數(shù)據(jù)庫(kù)連接不上了,wdcp也啟動(dòng)不了,請(qǐng)看截圖。我該怎么做?找了一天了都沒(méi)找到解決的方案。

在網(wǎng)上找到了這樣的方法,但是還是沒(méi)有解決問(wèn)題;

ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)

# sudo /etc/init.d/mysql stop
# sudo mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(’newpassword’) where USER=’root’;
mysql> FLUSH PRIVILEGES;
mysql> quit
# /etc/init.d/mysql restart
# mysql -uroot -p

但是網(wǎng)站還是顯示這樣。不知道怎么解決。謝謝。

使用的版本是WDCP 2.3

圖片附件: [截圖] 未命名.jpg (2012-7-3 16:28, 60.99 KB) / 下載次數(shù) 7911
http://www.fsowen.com/bbs/attachment.php?aid=883&k=9b6ee1b5824860b7b290d6b94c954ab3&t=1743875165&sid=57Z5me


作者: lixi.china    時(shí)間: 2012-7-3 16:40

本帖最后由 lixi.china 于 2012-7-3 17:02 編輯

請(qǐng)老大給個(gè)指點(diǎn),謝謝了

圖片附件: 未命名.jpg (2012-7-3 17:02, 65.63 KB) / 下載次數(shù) 7833
http://www.fsowen.com/bbs/attachment.php?aid=884&k=03c54983706f18b21b693be8cda20a53&t=1743875165&sid=57Z5me


作者: liangwei    時(shí)間: 2012-7-3 17:34

很明顯的錯(cuò)誤啊  你修改端口了
作者: admin    時(shí)間: 2012-7-3 18:01

端口已被使用

提問(wèn)三步曲:
1 對(duì)應(yīng)版塊,提供系統(tǒng)版本位數(shù),wdcp版本,lamp,lnmp,lnamp是哪個(gè)環(huán)境
2 有哪些錯(cuò)誤信息或提示,貼上論壇或截圖發(fā)論壇
3 做過(guò)哪些操作或更改或設(shè)置等詳細(xì)說(shuō)明
信息不詳者,一律不解答,謝謝
作者: lixi.china    時(shí)間: 2012-7-4 09:19

回復(fù)老大,我應(yīng)該沒(méi)有更改端口,是不是誤操作導(dǎo)致的啊?
我使用的是lnamp,wdcp 2.3 版本。
有沒(méi)有這個(gè)問(wèn)題的解決辦法?

在線等,謝謝了。
作者: admin    時(shí)間: 2012-7-4 10:30

這種問(wèn)題,沒(méi)有應(yīng)該,有就有,沒(méi)有就沒(méi)有

誤操作,那你都做過(guò)哪些操作?看不到發(fā)貼三步曲嗎
3 做過(guò)哪些操作或更改或設(shè)置等詳細(xì)說(shuō)明



從你上面的截圖看,8080端口是給nginx用了,如果你沒(méi)改過(guò),是不可能的,除非是1.x
作者: lixi.china    時(shí)間: 2012-7-4 10:51

謝謝老大回復(fù),給您發(fā)郵件了
作者: lixi.china    時(shí)間: 2012-7-4 12:07

我剛才問(wèn)了,應(yīng)該是有人改了我的php.ini,以下是配置文件,數(shù)據(jù)庫(kù)還是顯示:
Access denied for user 'root'@'localhost' (using password: NO)
網(wǎng)站還是連不上。

另外,nginx占用8080端口已經(jīng)解決了,wdcp后臺(tái)可以訪問(wèn),F(xiàn)在版本是wdcp 2.4,lnamp環(huán)境。

看看php.ini 關(guān)于mysql的設(shè)置,是不是配置問(wèn)題導(dǎo)致的?
mysql.max_links = -1

; Default port number for mysql_connect().  If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
; at MYSQL_PORT.
mysql.default_port =

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =

; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password!  And of course, any users with read access to this
; file will be able to reveal the password as well.
mysql.default_password =

; Maximum time (in seconds) for connect timeout. -1 means no limit
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Errors will be displayed.
mysql.trace_mode = Off

[MySQLi]

; Maximum number of links.  -1 means no limit.
mysqli.max_links = -1

; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
; at MYSQL_PORT.
mysqli.default_port = 3306

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
mysqli.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysqli.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysqli.default_user =

; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
; and reveal this password!  And of course, any users with read access to this
; file will be able to reveal the password as well.
mysqli.default_pw =

; Allow or prevent reconnect
mysqli.reconnect = Off
作者: admin    時(shí)間: 2012-7-4 13:22

跟php.ini沒(méi)有關(guān)系的
你們仔細(xì)檢查,及回想看下做過(guò)哪些更改和設(shè)置操作吧
作者: lixi.china    時(shí)間: 2012-7-5 13:20

回復(fù),問(wèn)題已經(jīng)得到解決。
采用了比較原始的方法。

重裝了系統(tǒng)!

問(wèn)題得到解決




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