The above code fixed problem for most of the ppl but I still could not login. Finally I found this (line#9 in the above code needs to be changed)
$cfg['Servers'][$i]['AllowNoPassword'] = true; <--- change this $cfg['Servers'][$i]['AllowNoPassword'] = false; <--- to this fixed the problem.
Note: there are other areas in localhost where you have to change the password manually. For example in “CD Collection” example. The password is hard coded there rather than picking it up from config.inc.php.
Related Posts:
- http://localhost/phpMyAdmin/ unable to connect
- phpMyAdmin access denied for user ‘root’@’localhost’ (using password: NO)
- phpMyAdmin Error: The mbstring extension is missing. Please check your PHP configuration
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
- “Connection for controluser as defined in your configuration failed” with phpMyAdmin in XAMPP
- phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)
- This table does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available
- Delete a database in phpMyAdmin
- PHPMyAdmin Default login password
- wamp server mysql user id and password
- phpmyadmin “Not Found” after install on Apache, Ubuntu
- Delete a database in phpMyAdmin
- MySQL said: Documentation #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
- Making someone a WordPress administrator using PhpMyAdmin
- Why am I unable to login to Dashboard after adding myself to admin via phpMyAdmin?
- Resetting menu_order to 0 for posts in PHPmyAdmin?
- phpMyAdmin displays error when importing database 2
- oembed_cache SPAM problem [closed]
- Delete all pages (thousands) except a few by their IDs
- Recovering a wordpress blog that got corrupted
- Importing posts content from csv
- duplicate wordpress site on same bdd
- I can not access my local PhpMyAdmin control panel
- wp_login.php redirects to old domain
- Check if a database is well installed
- Strings from database are not shown correctly
- How to change wordpress adminstrator user ‘s ID from 1 to 0?
- WordPress database defragmentation
- Cannot login to WordPress admin after update
- Help required with local wordpress setup
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- What is the difference between XAMPP or WAMP Server & IIS?
- How do I use MySQL through XAMPP?
- mysqli_real_connect(): (HY000/2002): No such file or directory
- XAMPP Port 80 in use by “Unable to open process” with PID 4
- Setting up foreign keys in phpMyAdmin?
- Cannot access to localhost/xampp/index.php
- Localhost is not working
- phpMyAdmin: secret passphrase?
- localhost/xampp/ or http://localhost/index.php can’t be accessed
- Forbidden :You don’t have permission to access /phpmyadmin on this server
- mysqli_real_connect(): (HY000/2002): No such file or directory
- How do I run a file on localhost?
- Xampp MySQL not starting – “Attempting to start MySQL service…”
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- #1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
- XAMPP Apache won’t start
- XAMPP, Apache – Error: Apache shutdown unexpectedly
- MySQL Error #1133 – Can’t find any matching row in the user table
- What is the use of Mercury and Tomcat in Xampp control panel?
- Xampp Access Forbidden php
- phpmyadmin #1045 Cannot log in to the MySQL server. after installing mysql command line client
- How to solve “Error: MySQL shutdown unexpectedly”?
- How to create a foreign key in phpmyadmin
- importing a CSV into phpmyadmin
- MySQL: Can’t create table (errno: 150)
- XAMPP installation on Win 8.1 with UAC Warning
- MySQL: How to reset or change the MySQL root password?
- MySQL Daemon Failed to Start – centos 6
- Auto increment in phpmyadmin
- How do I find what causes a blank white screen in WordPress?
- Moving WordPress from MAMP to WAMP, can’t access pages
- Moving WordPress from MAMP to WAMP, can’t access pages
- WordPress on XAMPP setting up Zoho mail
- WAMP vs XAMPP pros/cons – for running a local testing server [closed]
- Redirecting to old domain after migration
- Relative or dynamic site url possible?
- How to remove “Connection Information” requirement on localhost install of WP on MACOSX
- WordPress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80
- How do I find all admin users using phpmyadmin?
- WP Asking for FTP Credentials with XAMPP Localhost
- PHP function showing wrong time in WordPress
- the_post_thumbnail scaling not hard cropping
- What specific database privileges does WordPress need?
- “#1067 – Invalid default value for ‘post_date'” when trying to reset AI after backup
- Manually delete post from database
- Connect to remote database using Localhost install
- “Could not open input file” error even when WP-CLI is in the path
- Where is the “default attribute” values located in the phpMyAdmin in Woocommerce?
- WordPress multisite with domain mapping and virtual host on local with fake domain
- Gaining Login Access via the Database
- Reseting admin password through PHPMyadmin fails
- How to delete users with no order history through phpmyadmin sql?
- How to add an export function to a custom Option Theme Page
- Moving database with phpMyAdmin
- Would manually deleting the dumping data fix a “#1062 – Duplicate entry ‘1’ for key ‘PRIMARY'” phpMyAdmin error?
- Installing WordPress Theme Unit Data
- POSTS list in WordPress by views
- How to copy post titles to post slug in phpmyadmin
- Delete all post meta except featured image
- Error: MySQL shutdown unexpectedly. XAMPP local conf running WordPress
- Trying to run WordPress on localhost?
- Export only pages and posts with mysql dump
- Connect to live db whilst working locally
- unable to upload image locally
- Using the Parcel build tool with WordPress
- Set wp-content folder to Dropbox folder
- How to do a MySQL dump from production site without using a search and replace script for local development?
- Installation Issue WordPress locally – The file ‘wp-config.php’ already exists
- How to Move Local Singlesite Database to Remote Multsite Database?