Yes, of course. Just provide new connection credentials. WordPress will use whatever database you tell it to. You can even use the same database with a different prefix.
But it will probably be easier to regain access. See: https://codex.wordpress.org/Resetting_Your_Password
Related Posts:
- How do I get WordPress login to ignore the password input if a particular username is used?
- How to protect my credentials on my clients website
- Login in WordPress using external database data
- Finding the login page from database?
- How to verify password outside WordPress?
- How do I properly update the WordPress database password?
- Does WordPress always create unique passwords?
- Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
- Two websites one database, administrator not working on second website
- Private page protected with username and password
- Use mulitple usernames?
- Finding the original login information in the database
- Database Table for customer user
- Permit Login if table row exists
- Auto login subdomain from main domain on single sites with different DB
- Logins from WP users table use on another page
- Convert user passwords to MD5?
- how to encyrpt DB_PASSWORD in wp-config
- WordPress not logged in locally with correct username and password
- Recovering the table wp_usermeta from users
- Migrate Users From laravel to wordpress
- Can we store password in without being hashing?
- Unable to login to a https website via the app after changing from http
- User login without username, only password
- What WordPress file is saving new users to database
- Cannot login with correct username and password anymore
- How to store a plain password in WordPress database in another field
- Recover Same WordPress Admin Password
- How do I find users by password?
- 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?
- Why WordPress choose data serialization over json_encode?
- Are There Any Plans for WordPress to Support Databases Other Than MySQL?
- Reset Post IDs to less than 64bit integer
- Replacing the WordPress password validation
- how can get database name in wordpress?
- Does WordPress use the InnoDB engine for MySQL by default?
- Best way to import users, post and categories from an external database
- Performance tips for a large user base [closed]
- How can I modify the default reset (lost) password email text?
- Long option names fail silently?
- Send reset password link to user from custom lost password form
- wp_options is GB in size
- Login using the password from protected pages
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- WordPress and automated MySQL backups to a different host
- Size article thumbnails and retrieve them directly from database
- How can I create a Bible search engine via WordPress? [closed]
- Error establishing a database connection; After importing DB & Theme
- Where are WP_Errors Saved
- Get all images from this database table
- Delete transients in website
- Error establishing database connection – high traffic?
- Bulk-create posts from SQL database
- I am switching laptops. I host my WP server through MAMP. I want to transfer [closed]
- How can i customize the export personal data file?
- Is there a solution to auto-post data to a WP post from a database
- Uknown meta entries in wp_postmeta
- Error establishing a database connection problem in xampp saver
- I’m not able to get access to $wpdb [duplicate]
- Create table with dbDelta,can’t put any DEFAULT data
- WordPress database connection [closed]
- Changing between Local Host DB to Production DB and in reverse
- Make changes of wp-db.php file persistent against updates
- Display first name instead of username
- Change the default data installed when setting up WordPress
- Clear Terms from Taxonomy for Specific Post IDs?
- autocomplete=”off” WordPress Login
- WordPress security [closed]
- How to split the WordPress database?
- $wpdb->get_var – What value is returned when zero records are found?
- Password recovery URL has error – but not found in code or db
- SymmetricDS in dev + prod workflow?
- Fixing YARPP plugin FULLTEXT MySQL indexing
- Advantages of dbDelta
- Only allow user to access a link once a year, based on their joining date
- Error establishing a database connection in wordpress site , website not opening
- wpdb Insert unknown post data dynamic foreach loop
- How do I use a database in a custom theme?
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- Migrating meta_key and meta_value from old theme to new one
- How do you enable scripts on a WordPress installation in Softaculous?
- How to rerieve comments and their replies from DB
- Inserting data with Geometry field
- I Want a More Concice Form of Data than an Array
- Export only a part of the database for migration
- database error WordPress move from one hosting to other
- Select data from foreach loop and send it to wordpress database
- Error establishing database connection error during first WordPress run
- Same DB for live and dev versions
- update multiple user meta field based on another meta field
- execute custom function on database connection error
- version control for wordpress? (wordpress folder and database at same time)
- wp_lostpassword_url not escaped
- not saving post in wp_post wordpress database table
- Install WordPress with SQL database
- How to back-up a database on IIS
- Best db table structure for users with many records
- Where are database files of a WordPress website?