Jump to content

Forgot Admin Password


Recommended Posts

I don't think you can retrieve a lost password. Or at least not easily.

 

You could just delete the user and recreate it.

 

Ok, i was thinking the same...but a stupid question again LOL

 

// ** MySQL settings ** //

define('DB_NAME', 'wordpress'); // The name of the database

define('DB_USER', 'username'); // Your MySQL username

define('DB_PASSWORD', 'password'); // ...and password

define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

 

Here, where do i change it...where it says 'DB_NAME' or where it says 'wordpress' ?

Link to post
Share on other sites
In MySql

go down to where the users are listed and select the user and delete

Then create the user with a password

then fid the add user to database

select the user and the database and add user.

Already did that...now it's the config i'm trying to figure out where to change it

Link to post
Share on other sites
You should only have to change the password.

 

define('DB_PASSWORD', 'password'); // ...and password

I have to add the other 2 also...

But what i mean is:

 

Do i add that where it says" 'DB_PASSWORD'

or: 'password'

In what place?

Link to post
Share on other sites
change password

define('DB_PASSWORD', 'password'); // ...and password

Well, tried everything...deleted MySQL Databases and restarted like 5 times...and

un-installed Wordpress as many times...but no go :)

I keep getting this:

It doesn't look like you've installed WP yet. Try running install.php.

Link to post
Share on other sites

You Wordpress config file should look like the following:

 

// ** MySQL settings ** //

define('DB_NAME', 'cpanelname_dbname'); // The name of the database

define('DB_USER', 'cpanelname_db-user-name'); // Your MySQL username

define('DB_PASSWORD', 'password-for-db-user'); // ...and password

define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

 

Make sure you add the user to the database after creating the user.

Link to post
Share on other sites
And after you get the user properly added in MySQL and you change the config.php file, WP will probably want you to run install.php again, even if you already did it. Anytime database information changes.

Did all that guys....over and over LOL

Nothing. It's ok, i deleted all...will just go back to normal blog on normal site.

Thanks anyway for helping.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...