Locating or Establishing MySQL UN and PW after uploading .sql file via phpMyAdmin (Wordpress)

I've uploaded a .sql file via phpMyAdmin with success. I am currently using a different table in my Wordpress installation, but would like to switch it to the table/.sql file I just uploaded.

I know in the wp-config.php file I need to update the following to reflect the new file I uploaded:

define('DB_NAME' 'name goes here') - I've got this

define('DB_USER' 'usernamegoeshere') - need to find/establish

define('DB_PASSWORD' 'passwordgoeshere') - need to find/establish

My question is: where do I find or establish a username and password associated with the new db file I uploaded? Do I use the exisiting username and password from the current db in use?

Just a little confused.


You uploaded sql file and imported it to database.

For connect to this database you should use same username and password what you use for phpMyAdmin login.

Tags: PHP / Mysql / SQL

Similar questions

How to Create a new Admin User for A WordPress Site via MySQL (PHPMyAdmin)?
My WordPress site got hacked and the WP Admin user account password was changed by the hacker. This essentially locked the user out of his admin dashboard. It is best (for situations like this) to just create a new admin user account to gain access to WP admin dashboard and fix things as needed. Is it possible to create a new WordPress admin user a...
Good tools for locating hooks in a wordpress page/admin interface/blog post?
I've recently started using the Hikari Hooks plugin for Wordpress as it seems to allow you to get a good idea of what do_actions are being called on the page, so that you can easily find out where potential hooks for plugin code might lie. Are there better tools/plugins for accomplishing the same thing? In particular I was looking for one that migh...
Locating the template behind a WordPress Page
Is there a way to tell from a WordPress page what template the page was built from. In my case, there's a page at mysite.com/checkout and I happen to know that the template used to build this page is at wp-content/plugins/woocommerce/templates/checkout/form-checkout.php. But how could I have known that just from poking around the page with Chrome D...
Locating the HTML piece of code in wordpress
I am new to wordpress and I am currently working on modifying a wordpress built website. I am trying to find the exact HTML location of the web page using inspect options in chrome and then trying to find that particular piece of code in the pages. Currently i am trying to find a particular piece of code to add a new class to it to include some CSS...
I need help locating a URL that is on my site map, but that I can't find in my Wordpress dashboard
I hired a developer to implement the LearnDash plugin on my Wordpress site. He wasn't able to finish the project and left my site with several unnecessary pages and plugins. I want to get my site back to the way it was before he installed Learndash. I deactivated several plugins that were associated with learndash: woocommerce, mailchimp, etc. I al...
Locating WordPress plugin source code used by this code
I am trying to write a hook for s2Member: I have trouble with the following code: What does eval ('foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;'); do, especially &$$__v? I can’t find the source code for ws_plugin__s2member_after_paypal_notify. Is this supposed to be a class? How can I find the source code for this clas...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.