Pages

Showing posts with label phpmyadmin. Show all posts
Showing posts with label phpmyadmin. Show all posts

Wednesday, May 25, 2016

Wordpress: How to switch to the default theme if wp-admin is not accessible.

If you have mysql database(phpmyadmin) access you can switch to default theme by the following method

Step 1: Login to the phpmyadmin account
Step 2: Open 'wp_option' table
Step 3: Find these values in 'option_name' fields   `template`, `stylesheet` and `current_theme`, All these fields are set to the current theme name which you have activated.
Step 4: Now you have to change these fields values. change their 'option_value' to the default theme. Set 'default' or any other theme name like twentythirteen, twentyfifteen etc on there 'option_value' and refresh your site.

Sunday, February 23, 2014

can't access phpmyadmin mysql window after changing password for root in xampp (linux).


If you have ‌installed xampp/lampp on your linux system and changed the password for your root you will be no longer going to access your mysql window in phpmyadmin. It happens because phpmyadmin has a config file (config.inc.php) which do not update automatically after changing password for root like windows's xampp. so it will show you the following error.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

to fix this error you need to go to the phpmyadmin directory under the lampp/xampp

and edit the config.inc.php

$cfg['Servers'][$i]['password'] = 'yourpassword';

and its done.

posted by honeyonsys

About Me

Hi,My name is Harish Kumar.I am a web developer by profession.I am working in the same field since 2008. About my skills i am proficient in HTML,CSS,JAVASCRIPT/JQUERY/ ANGULAR,PHP,MYSQL,APACHE,LINUXAJAX, REST,etc...