wdcp changing mysql password, wdcp backend login password, ftp, and other common tool methods.

Published: 2014-07-21

```html

Note
You need to use ssh to log in to the server, then execute it. If you do not know how to log in to linux via ssh, please refer to:http://www.west.cn/faq/list.asp?unid=417


Force change the mysql root password; useful when you forget the mysql password
sh /www/wdlinux/tools/mysql_root_chg.sh
For wdcp3.0, use the following command:

sh /www/wdlinux/wdcp/shell/mysqlrootchp.sh


Method to change the wdcp backend login password if forgotten
sh /www/wdlinux/tools/wdcp_login_chp.sh

For wdcp3.0, use the following command:

sh /www/wdlinux/wdcp/shell/wdcploginchp.sh



FTP configuration file check; useful when FTP cannot connect or log in
sh /www/wdlinux/tools/pureftp_conf_check.sh
For wdcp3.0, use the following command:

sh /www/wdlinux/wdcp/shell/pureftpconfcheck.sh



wdcp permission check; useful when the wdcp backend is abnormal or some functions cannot be used
sh /www/wdlinux/tools/wdcp_perm_check.sh



Fix for wdcp database unable to connect; e.g. when logging in to the backend it prompts "Unable to connect to mysql, please check whether mysql has started and whether the user password is set correctly"
sh /www/wdlinux/tools/mysql_wdcp_chg.sh



How to fix incorrectly configured login IP restriction in the wdcp backend
sh /www/wdlinux/tools/wdcp_login_cbip.sh

For wdcp3.0, use the following command:

sh /www/wdlinux/wdcp/shell/wdcplogincip.sh


wdcp control panel login is blank or reports error 404 (locked due to too many incorrect password attempts)

For wdcp2.5 version, execute

sh /www/wdlinux/tools/wdcp_cdip.sh

For wdcp3.0 version

cd /www/wdlinux/wdcp/tmp 

rm login.lock -f  


wdcp control panel: clear panel login domain restriction

For wdcp2.5 version, check the /www/wdlinux/wdcp directory to see whether url.conf exists.

wdcp3.0 and above, check whether url.conf exists in the /home/wddata/wdcp/conf directory.

This file stores the domain used for wdcp login. Delete the file to log in to wdcp using IP + port.


```