rallfrey
Member
Posted 3 months ago #
I have access to a WordPress site as a user. The guy doing the admin died suddenly and I am trying to gain admin rights to the database but I do not know what his username was.
Then I plan to use the FTP password reset trick. I believe I need to know the admin username to do this.
Please tell me if I'm wrong.
Thanks in advance
Very sorry to hear about this.
You can get the mysql userid and password from the wp-config.php file in the root of your WordPress installation.
http://codex.wordpress.org/Editing_wp-config.php
Make a copy of that file in case you accidentally modify it.
That mysql userid and password are not the WordPress login, but with access you can identify the WordPress user ID name and number.
http://codex.wordpress.org/Resetting_Your_Password#Through_MySQL_Command_Line
http://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin