Author Topic: WordPress installer puts incorrect characters into wp-config.php  (Read 779 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi,
I have noticed that the WordPress installer passes some some symbol characters (created by the random password generator) incorrectly to the wp-config.php

For example...
This randomly created password: IDlj_I_L>GxX
Appears in the wp-config.php file as: define( 'DB_PASSWORD', 'IDlj_I_L' );

Presumuably, this needs an update to the installer to correct?

Regards,
Stephen

Offline
***
Re: WordPress installer puts incorrect characters into wp-config.php
« Reply #1 on: April 03, 2019, 08:32:26 PM »
I have setup 3 centos web panel systems, and on every one of these fresh installs the WordPress installer experiences database connections issues because of exactly the same cause...wrong database password for WordPress wp-config.php.
I am 100% convinced the script installer is not working properly, because as soon as I change the password manually in wp-config.php, the wordpress installer comes up immediately in browser.

Doesn't anyone test these things before going live...this is hard to understand!

Offline
*
Re: WordPress installer puts incorrect characters into wp-config.php
« Reply #2 on: April 27, 2019, 02:56:08 AM »
I found a very easy solution to this issue. Just use a custom user entered password for the database when installing wordpress instead of the system generated. This takes care of the reported issue.