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 this JavaScript “require”?
- How to resolve ORA-011033: ORACLE initialization or shutdown in progress
- Oracle SQL query for Date format
- Using wpdb to connect to a separate database
- How can I make a WordPress database portable and url independent?
- wpdb->insert multiple record at once
- How to migrate a HTTPS WordPress installation to localhost?
- How to stop WordPress using utf8mb4_unicode_520_ci collation?
- Importing posts from old website to new conflicting post ID’s?
- Exporting revisions
- WP_Options ID high
- Default WordPress settings API data sanitization
- Fatal error: Call to undefined function dbDelta()
- How to use multiple database in wordpress?
- Is removing orphaned wp_postmeta records safe?
- How to intercept update_option() before it saves data?
- wpdb query on custom table not working [closed]
- What ALL can cause “Another update is currently in progress.”? [closed]
- Error connecting to DB in /wp-includes/wp-db.php on line 1538 [closed]
- Set Display Name to first and last name (phpmyadmin SQL Query)
- How to fix unchanged URLs in Database after running serialized search and replace script?
- How to query the WordPress database to get posts of a certain custom post type, taxonomy and field?
- SQL Error wp_commentmeta – incorrect table definition
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- Change WordPress prefix for only one table?
- Two websites one database, administrator not working on second website
- Merging two wp_posts tables while avoiding duplicates
- How can i add custom fields into the contact form 7 [closed]
- Merging two databases without borking it
- How Yoast SEO plugin works with variable %%name%%?
- Move out of sync posts from one database to another
- MS Access to manage WordPress Database
- Remove empty rows from the database
- Custom WordPress Table wpdb
- Check if post id exist in table than only update instead of inserting new row
- Detail explanation of wordpress database fields and metatag list [closed]
- CreateOrUpdate in WordPress
- $wpdb->get_results($wpdb->prepare(… You have an error in your SQL syntax;
- Transferring/Uploading Data from DB to WordPress
- How to get a list of WordPress default database tables?
- Can local WordPress installs share /wp-content/ folder and database?
- how to encyrpt DB_PASSWORD in wp-config
- Stringing together content from different databases
- Delete all posts that do NOT have a specific tag
- Backing up WordPress database and files
- Safely store code(html/js..) into database
- Why does wp_links still exist in the db schema?
- Creating and Using Tables in the WordPress Database
- can’t upgrade wordpress or install plugins, it seems to “think” it’s still on a local installation
- Compare User meta_value with Product meta_value
- How to insert a value to decimal type field using wpdb->prepare?
- Sql query to get all metadata for a post
- Where do I put my create_new_table function()?
- Is there any defects for using same database prefix in WordPress for multiple sites?
- How to import products in host instead of database on wordpress?
- Having all “non-PHP” files on a different server
- syntax error for changing user role from database
- I would like some help wth an SQL query to link posts with categories
- get_option() does unserialize and don’t remove \
- Set SQL_BIG_SELECTS and MAX_JOIN_SIZE on a WP_Query
- How to optimize wp_option table?
- How to display $wpdb->insert_id; value on redirected page
- database – multiple wordpress installations using same database – can they share plugin settings?
- Should I Use only wpdb Class to Write Custom Queries?
- Catchable fatal error in formatting.php
- Wrong url for the images while using same database for two WordPress installations
- Sending WordPress database information to cross domain the safe way?
- Database Name Change
- Weird characters in title if it contain “ ”
- Where To Find bb_profile_data(); In bbPress?
- Attach posts based on category and position