1045 – Access denied for user ‘root’@’localhost’ (using password: No)

In this tutorial im going to solve below error 1045 – Access denied for user ‘root’@’localhost’ (using password: No)

Errror : –

1045 - Access denied for user 'root'@'localhost' (using password: No)

SOLUTION

/opt/lampp/phpmyadmin
vi config.inc.php
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '8789';
/* Server parameters */
//$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;

Save and exit.

Now working successfully…..πŸ‘πŸ‘

Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.

Related Posts

How to Set a new root password in Ubuntu ?

In this tutorial im going to learn how to set root password in ubuntu lets go to solve. 1st step Just go to Log in to the…

Define Security Checklist for LAMPP Server with example ?

In this tutorial we’re going to learn top security checklist for Lampp server. In this tutorial we have to learn lots of security checklist for lampp server,…

Top 21 security checklist for PHP

In this tutorial i’m going to learn how to secure your PHP project. 1 Update PHP Regularly One of the cardinal rules of PHP security is to…

Top 21 Security Checklist for laravel ?

In this tutorial i going to share you top 21 Security Checklist for laravel for important for security purpose. 1. CSRF Protection What is CSRF ? A…

How to remove Ubuntu Installation using Command ?

In this tutorial i’m going to share you how to remove ubuntu setup installation using command so follow this tutorial i have mentioned in very easy way….

Top 21 Security Checklist for Apache ?

In this tutorial we’re going to learn top 21 security checklist for Apache Configuration. Apache web server is crucial to safeguarding your website and its data. This…

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x