无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] [按教程为什么仍无法修复?]无法连接mysql,请检查mysql是否

http://www.wdlinux.cn/bbs/viewthread.php?tid=585  按照这个教程如下操作,仍然修复不了。

过程如下:

  1. [root@localhost ~]# netstat -lnpt
  2. Active Internet connections (only servers)
  3. Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
  4. tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      1715/nginx.conf     
  5. tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      1725/pure-ftpd (SER
  6. tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1329/sshd           
  7. tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1514/sendmail: acce
  8. tcp        0      0 :::21                       :::*                        LISTEN      1725/pure-ftpd (SER
  9. tcp        0      0 :::22                       :::*                        LISTEN      1329/sshd           
  10. tcp        0      0 :::8088                     :::*                        LISTEN      1733/httpd         
  11. tcp        0      0 :::88                       :::*                        LISTEN      1698/httpd         
  12. [root@localhost ~]# service mysqld restart
  13. ERROR! MySQL manager or server PID file could not be found!
  14. Starting MySQL. ERROR! Manager of pid-file quit without updating file.
  15. [root@localhost ~]# sed -i's/skip-innodb/#skip-innodb/g'/www/wdlinux/etc/my.cnf
  16. Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
  17.   -n, --quiet, --silent
  18.                  suppress automatic printing of pattern space
  19.   -e script, --expression=script
  20.                  add the script to the commands to be executed
  21.   -f script-file, --file=script-file
  22.                  add the contents of script-file to the commands to be executed
  23.   --follow-symlinks
  24.                  follow symlinks when processing in place
  25.   -i[SUFFIX], --in-place[=SUFFIX]
  26.                  edit files in place (makes backup if extension supplied)
  27.   -c, --copy
  28.                  use copy instead of rename when shuffling files in -i mode
  29.   -l N, --line-length=N
  30.                  specify the desired line-wrap length for the `l' command
  31.   --posix
  32.                  disable all GNU extensions.
  33.   -r, --regexp-extended
  34.                  use extended regular expressions in the script.
  35.   -s, --separate
  36.                  consider files as separate rather than as a single continuous
  37.                  long stream.
  38.   -u, --unbuffered
  39.                  load minimal amounts of data from the input files and flush
  40.                  the output buffers more often
  41.       --help     display this help and exit
  42.       --version  output version information and exit
  43. If no -e, --expression, -f, or --file option is given, then the first
  44. non-option argument is taken as the sed script to interpret.  All
  45. remaining arguments are names of input files; if no input files are
  46. specified, then the standard input is read.
  47. GNU sed home page: <http://www.gnu.org/software/sed/>.
  48. General help using GNU software: <http://www.gnu.org/gethelp/>.
  49. [root@localhost ~]# service mysqld restart
  50. ERROR! MySQL manager or server PID file could not be found!
  51. Starting MySQL. ERROR! Manager of pid-file quit without updating file.
  52. [root@localhost ~]# sh /www/wdlinux/tools/mysql_wdcp_chg.sh
  53. Running..., Please Wait...
  54. err[root@localhost ~]#
复制代码


db.inc.php的数据如下:
  1. <?
  2.   $dbhost = 'localhost';
  3.   $dbuser = 'wdcp';
  4.   $dbpw = 'XgQj5oOo';
  5.   $dbname = 'wdcpdb';
  6.   $pconnect = 0;
  7.   $dbcharset = 'gbk';
  8. ?>
复制代码


请教为什么还不行?我只不过设置了一下内存优化为“innodb配置”。
.

我是 内存优化 点过后出现问题,使用教程修复好了,然后又选择了一个优化后再也修复不了。
.

TOP

返回列表