Title: WORDPRESS DATABASE ERROR
Last modified: April 5, 2020

---

# WORDPRESS DATABASE ERROR

 *  Resolved [chapchapmarket94](https://wordpress.org/support/users/chapchapmarket94/)
 * (@chapchapmarket94)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-144/)
 * EXPERIENCE BELOW ERROR WHEN I ACTIVATE PERMALINK MANAGER LITE
 * Error establishing a database connection
    This either means that the username
   and password information in your wp-config.php file is incorrect or we can’t 
   contact the database server at localhost. This could mean your host’s database
   server is down. Are you sure you have the correct username and password? Are 
   you sure you have typed the correct hostname? Are you sure the database server
   is running?
 * WHAT COULD BE THE ISSUE?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-database-error-144%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-144/#post-12630019)
 * Hi [@chapchapmarket94](https://wordpress.org/support/users/chapchapmarket94/),
 * Do you have access to PHP/MySQL error logs? Does this issue occur after the Permalink
   Manager Lite is activated or only after the custom permalinks are configured?
 * Best regards,
    Maciej
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wordpress-database-error-144/#post-12630108)
 * Hi again [@chapchapmarket94](https://wordpress.org/support/users/chapchapmarket94/),
 * I checked your website and it looks like my plugin is activated. I guess then
   that the problem occurs when the custom permalinks are saved/updated.
 * Please disable “Automatically fix broken URIs” option in Permalink Manager settings.
   Also, if you do not have access to MySQL error logs:
    [https://stackoverflow.com/questions/5441972/how-to-see-log-files-in-mysql](https://stackoverflow.com/questions/5441972/how-to-see-log-files-in-mysql)
 * please add this code snippet to functions.php file in theme directory: [https://pastebin.com/tSRBhFq8](https://pastebin.com/tSRBhFq8)
 * Best regards,
    Maciej
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-error-144/#post-12766430)
 * Hi [@chapchapmarket94](https://wordpress.org/support/users/chapchapmarket94/),
 * Just wanted to check in to see if this issue has been resolved. If not, feel 
   free to reopen this topic and provide me with more details on the issue you encounter.
 * Thank you very much!
 * Best regards,
    Maciej

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WORDPRESS DATABASE ERROR’ is closed to new replies.

 * ![](https://ps.w.org/permalink-manager/assets/icon.svg?rev=2625166)
 * [Permalink Manager Lite](https://wordpress.org/plugins/permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalink-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-error-144/#post-12766430)
 * Status: resolved