Showing posts with label phpMyAdmin. Show all posts
Showing posts with label phpMyAdmin. Show all posts

Friday, November 18, 2016

How to reset Drupal admin user password easily from phpMyAdmin?

How to reset dupla 7 admin user password easily
How to reset Drupal admin user password easily?
In this post, we shall see how to reset Drupal admin user password easily from phpMyAdmin. If it is on a production site, we can do "forgot password" to let Drupal send us a password reset link. But on local development server, we might not have a provision to do it. So we may need to do it some other ways. We can reset passwords for user from phpMyAdmin by running some scripts. But as you might already know that passwords in Drupal are hashed. So we need to know the hash code of a password before running such sql command. I have included a SQL code for password reset in Drupal 7 at the end of this post.

This example is on local Drupal 7 running on XAMPP (Windows). In this example, we generate a hash code of a password we desire and replace the existing hash code in PHPMYADMIN with the new one to change the password. Admin can then login in with the new password and may change the password as usually done in Drupal by editing the user.
Read more �
Share:

Sunday, August 21, 2016

404 Error While Accessing Drupal Site After Migration

404 Error While Accessing Drupal Site After Migration
If you have migrated a Drupal site from local development server to a live server or from one host to another host, you will generally encounter a 404 error when accessing the pages after migration. Do not freak out, this is pretty normal and can be resolved easily. Let's go through what I did so far to migrate from one host to another.

Process of migrating a Drupal Site from one host to another host:

On the old server:

Read more �
Share:

Sunday, April 10, 2016

How to fix: WordPress not opening on localhost:8080 after port change from 80 to 8080 (HTTP 404 Not Found error)

WordPress not opening on localhost:8080 after port change from 80 to 8080
Opening a WordPress site after Apache port change returns HTTP 404 error (Not Found). This is a common issue with WordPress users who have installed WordPress on local machine, then had to change the Apache HTTP port since other programs took over the HTTP port 80.

Here is a scenario for the issue:
Read more �
Share: