Joomla
Using any MySQL admin tool, (PHPMyAdmin), run the following query, entering your own choice of password:
UPDATE jos_users SET password = MD5("new-password") WHERE jos_users.username = "admin";
If you’re using a different username to admin, change as appropriate.
If this doesn’t work, try changing jos_users to mos_users.
WordPress
If you know your username and the email account in your profile, you can use the “lost password” function –
- Go to your WordPress Login page (something like http://yoursite.com/wordpress/wp-login.php)
- Click on lost password
If you can’t use this method, here’s how to do it in MySQL.
Using any MySQL admin tool, (PHPMyAdmin), run the following query, entering your own choice of password.
UPDATE wp_users SET user_pass = MD5("new-password") WHERE wp_users.user_login = "admin";
Notes: You must have access to your database. If you don’t, pass these instructions on to someone that does.