中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线
標(biāo)題:
[求助]
[按教程為什么仍無法修復(fù)?]無法連接mysql,請檢查mysql是否
[打印本頁]
作者:
ahzsb
時間:
2013-7-27 14:54
標(biāo)題:
[按教程為什么仍無法修復(fù)?]無法連接mysql,請檢查mysql是否
http://ahbydz.com/bbs/viewthread.php?tid=585
按照這個教程如下操作,仍然修復(fù)不了。
過程如下:
[root@localhost ~]# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1715/nginx.conf
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1725/pure-ftpd (SER
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1329/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1514/sendmail: acce
tcp 0 0 :::21 :::* LISTEN 1725/pure-ftpd (SER
tcp 0 0 :::22 :::* LISTEN 1329/sshd
tcp 0 0 :::8088 :::* LISTEN 1733/httpd
tcp 0 0 :::88 :::* LISTEN 1698/httpd
[root@localhost ~]# service mysqld restart
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
[root@localhost ~]# sed -i's/skip-innodb/#skip-innodb/g'/www/wdlinux/etc/my.cnf
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-c, --copy
use copy instead of rename when shuffling files in -i mode
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
[root@localhost ~]# service mysqld restart
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
[root@localhost ~]# sh /www/wdlinux/tools/mysql_wdcp_chg.sh
Running..., Please Wait...
err[root@localhost ~]#
復(fù)制代碼
db.inc.php的數(shù)據(jù)如下:
<?
$dbhost = 'localhost';
$dbuser = 'wdcp';
$dbpw = 'XgQj5oOo';
$dbname = 'wdcpdb';
$pconnect = 0;
$dbcharset = 'gbk';
?>
復(fù)制代碼
請教為什么還不行?我只不過設(shè)置了一下內(nèi)存優(yōu)化為“innodb配置”。
作者:
ahzsb
時間:
2013-7-27 15:05
我是 內(nèi)存優(yōu)化 點(diǎn)過后出現(xiàn)問題,使用教程修復(fù)好了,然后又選擇了一個優(yōu)化后再也修復(fù)不了。
歡迎光臨 WDlinux官方論壇 (http://ahbydz.com/bbs/)
Powered by Discuz! 7.2