Builder's installation prompts that the database cannot be connected

Please indicate the author and source when reprinting.

The original address of this article: http://yoper.iteye.com/blog/2343612

Chen Yongpeng's blog: http://yoper.iteye.com/

 

I downloaded a website building star today, and when I installed it to the step of filling in the database connection and account password, it kept prompting that the database could not be connected.

The backend returns 1001.

Tried it three or four times, still the same. Thought it was an error when creating the database and account password.

 

After tracking and printing it, I found that when the website received the post data, it checked and transformed the data.

 

I had a special character in my password that was turned. So the check is temporarily removed.

 

Location /install/load.php about line 33

$db_pwd = addslashes_array(ParamHolder::get("db_pwd",""));

 Temporarily changed to

$db_pwd = $_POST['db_pwd'];

 keep.

Then you can install it.

Remember it, lest everyone step on the pit.

 

 

 

Chen Yongpeng Yoper

[email protected]

 

 zero sugar

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326924378&siteId=291194637