If your database connection is wrong you will get an error says
Error establishing database connection
so if you seeing login form your connection is fine and wp-config has nothing to do in your issue.
If you don’t remeber what’s your credentials are, go to your database manager like phpMyAdmin
and look for _users
table and take a look what accounts are in your WordPress installation. If you don’t remember your password there is simple way to recover it from database. Edit selected user and type new password in the password
column and set type field to MD5
. Then your password will be pre-reset. When you’ll try log in with your new credentials WordPress will hash new password.
Related Posts:
- Sub-domain or 2nd, temporary different domain?
- Cloning and syncing a WordPress website
- WordPress showing install screen after max_questions error
- Installation with sql server express edition
- Export all content from wordpress
- Automate dir and DB stack creation with WP-CLI
- Error establishing a database connection on Installation
- “Database Connection Error” upon install in Apache VirtualHost document root.. Why did this happen? [closed]
- Migrating from PDO using SQLite to clean new install using MySQL
- Selectively restoring original posts from a compromised site to a freshly installed WordPress database
- Moving to another server database connection error [closed]
- Is it possible to have more than 1 MySQL database in my WordPress blog?
- Create database on installation
- Reinstalling wordpress from database breaks the site
- Choosing http or https during manual installation of WordPress and database
- Installation question
- Multiple WordPress sites installs sharing the same database but with different content and domains
- Image link issues after importing a database backup to my local web server
- Database create or redirect
- New installation fatal error in 5.9.3 at edit or create entry
- unable to use my wordpress site after moving
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- Copy WordPress to new directory
- Does WordPress Support Using Named Pipes on the Windows Operating System?
- Can’t Install WordPress (local) Failed to open file wp-includes/wp-db.php
- Why is wordpress trying to re-install itself?
- Install WordPress with SQL database
- Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]
- WordPress can’t fetch the posts from the database after moving to new server [closed]
- What is an ORM, how does it work, and how should I use one? [closed]
- What is the difference between an ORM and an ODM?
- What is this JavaScript “require”?
- Rename a table in MySQL
- How should I tackle –secure-file-priv in MySQL?
- What is this JavaScript “require”?
- What is “Advanced” SQL?
- What’s the difference between identifying and non-identifying relationships?
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- What are the differences between B trees and B+ trees?
- MySQL SELECT increment counter
- How to resolve ORA-011033: ORACLE initialization or shutdown in progress
- Example of a strong and weak entity types
- Oracle SQL query for Date format
- phpMyAdmin – Error > Incorrect format parameter?
- Strange Characters in database text: Ã, Ã, ¢, â‚ €,
- Difference between partition key, composite key and clustering key in Cassandra?
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
- Database vs File system storage
- Can I have multiple primary keys in a single table?
- Exclude Statement in SQL
- How do you query for “is not null” in Mongo?
- What is a file based database?
- Is it fine to have foreign key as primary key?
- Storing Images in DB – Yea or Nay?
- Using wpdb to connect to a separate database
- how to Optimize WordPress database for 10 million post? [duplicate]
- MySQL Database User: Which Privileges are needed?
- Why is my database import losing text widget data?
- Database synchronization between dev/staging and production
- Keeping WP database synced across multiple developers using git
- WPDB Insert or if exists Update
- Multiple developers / editors working on a site in progress
- How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?
- get_results using wpdb
- Will it break my site if I delete all transient records in wp_options table?
- Checking if Database Table exists
- Why WordPress choose data serialization over json_encode?
- What’s the simplest way to backup my WordPress database?
- WordPress (MyISAM) database is slow, should I switch to InnoDB?
- $wpdb won’t insert NULL into table column
- Relaunch 4.2 utf8mb4 database upgrade
- Fastest way (least amount of steps) to locally import a remote database using WP-CLI
- Safest way to bulk delete post revisions
- Please explain how WordPress works with MySQL character set and collation at a low level
- Solution for database version control and deployment?
- The MySQL alternatives: Do Percona Server and MariaDB work well with WordPress, and do they make WordPress go better?
- How many users can WordPress handle?
- Get error messages when $wpdb->insert() returns false?
- Detecting errors generated by $wpdb->get_results()
- Staging sites, how do you manage synchronising updates in the DB?
- Does dbDelta delete columns as well?
- How to get the post publish date outside the loop?
- MariaDB as a backend database
- wpdb update add current timestamp not working
- Site stuck in “Database Update Required” loop
- How to fetch Data in WordPress using MySQLi or $wpdb
- WordPress Database lost auto increment
- Count & Display Database Queries
- Connect to database using wordpress wp-config file
- How can I make a WordPress database portable and url independent?
- Are There Any Plans for WordPress to Support Databases Other Than MySQL?
- wpdb->insert multiple record at once
- How to migrate a HTTPS WordPress installation to localhost?
- Two WordPress sites sharing the same content
- How to integrate custom database table in WordPress and using WordPress functions
- Reset Post IDs to less than 64bit integer