In this tutorial i’m going to set username and password in ubuntu. There are many reasons you may need to change phpMyAdmin password. Perhaps, as a part of your security checks.
Put a strong username and password for your phpMyAdmin installation is important for security purposes. phpMyAdmin is a web-based administration tool for MySQL and MariaDB databases. It allows you to perform various database operations, such as creating, editing, and deleting databases and tables, as well as managing users and permissions.
If your phpMyAdmin installation is not properly secured, it could be exploited by attackers to gain access to your database server and sensitive data. This could lead to data breaches, unauthorized access, and other security risks.
Example :-
sudo /opt/lampp/xampp security
After run above command put your username and password for set phpmyadmin access.
After run this restart the server.
sudo /opt/lampp/lampp restart