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?
- If an Application Password is accidentally revoked, is there any way to restore it?
- What’s the difference between identifying and non-identifying relationships?
- Will it break my site if I delete all transient records in wp_options table?
- Safest way to bulk delete post revisions
- Please explain how WordPress works with MySQL character set and collation at a low level
- How many users can WordPress handle?
- Automate WordPress Database Upgrade
- Why does $wpdb return strings for mysql integer values?
- How can I migrate from another platform to WordPress (using the same domain) and launch when ready?
- Where are image paths to product category images stored in WordPress database
- What’s the database relationship between a post and its attachments
- Is it possible to use a forgot password url filter?
- how do I determine which image is the featured image in the database
- Prevent changing the length of post_name column on WordPress Update
- Why does dbDelta() not catch MysqlErrors?
- Migrate a Non WordPress database to wordpress [closed]
- Moving an entire wordpress site from one domain to a new domain and database
- how to transfer wordpress sql/database from local to live
- Custom DB_COLLATE (collation) value not working on fresh install?
- What causes the “max_user_connections” warning on WordPress frontend?
- Get Database Credentials from within the themes file
- what to do when your WordPress database is too large?
- How does WordPress create its database during installation?
- WordPress DB: options-table –> 32 gzipcompression?
- $wpdb->update has finished saving trigger?
- Having issues with wp_postmeta and wp_usermeta tables too big
- How do I remove the eye icon that shows visibility on login screen and reset password screen
- WordPress site uses MyISAM, should I switch to InnoDB necessary?
- WP Database Table to CSV file
- Uppercase to sentence case for post titles
- How to retrieve and show database table in wordpress dashboard
- Merge two WordPress installations into one, and keep posts separated?
- Moving online website to MAMP or dumb idea?
- Storing data for a wordpress plugin
- WordPress database import: Row size too large
- Advanced SELECT query with condtional statements
- How can I (semi) automate a database export and import to a different location?
- Improve performance by removing unnecessary database queries
- Redirecting to old domain after migration website
- Localhost keeps redirecting to live domain
- Unable to set a default serialized array using dbdelta()
- Custom Log In Screen – Disable password recovery [duplicate]
- Which data is written and stored in the database when read-only (non-posting, non-commenting) users visit the site?
- $wpdb is not initiating
- What can I do when an outside party hacks into my weblog and changes my display name?
- Cannot restore wordpress database from sql dump [closed]
- WooCommerce: remove sample & dummy data
- How and where is wordpress adding mySQL content to database?
- How get Data form wordpress database as array not stdclass?
- cannot connect database
- Brandoo WordPress Unable to Update to WordPress 4.2.2
- Connecting to wordpress database in my application [closed]
- How do I have a user upload a blog post and then retrieve that to display in a card on the site?
- Delete user with only subscriber role
- WordPress keeps redirecting to localhost
- get value from ‘terms’ table
- How to rename custom table name programatically in wordpress?
- Displaying requested data from a the database in wordpress
- pre_get_posts causings DB error when using ( ‘posts_per_page’, -1)?
- generate PDF from member information
- Help posting values to DB on submit using $wpdb->query
- wpdb query to insert images in to post/page gallery
- Creating a database in my plugin not working
- How to create index (sql) to a meta_key?
- Not sure what to do next to optimize
- get_user_meta and umeta_id
- $wpdb not working
- Send data to database after redirect (and popping out of iframe)
- Simple email input store in database
- $wpdb->insert not working for last select option
- Upload wordpress from localhost to 000webhost