• foxtrot123

    (@foxtrot123)


    I created a testing site for my blog by copying the WP files, creating a new MySQL database and user, etc. I gave the new user (for the testing site database) the same password I use for the blog database.

    When I went to manually update the copied wp-config.php file with the new MySQL details (new database and username), I noticed the password in the original wp-config.php file was encrypted. I tried to keep it this way but my test site couldn’t connect. I had to replace the encrypted version with the actual, exposed password.

    How can I go about re-encrypting it? I don’t recall how it was done originally.

    Also, the encrypted pass in wp-config.php file is about 12 characters, whereas the encrypted pass in the database (i.e., the user_pass value in the wp_users table of the database) is about 30 characters. I know how the 30 character one was generated, but not the 12 character one. Any ideas?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Encrypt MsSQL password in wp-config.php’ is closed to new replies.