hello guys, tonight I'm going to share something that's useful to start a programming especially starting using PHP this is a mandatory.
but, sometime when you try to install that you get an error and confuse to solve it, so you should to looking for solution.
oke let's start
first you can type :
sudo apt install mysql-server
sudo apt install phpmyadmin php-mbstring php-gettext
let you follow the step using command yes yes end yes wkwk and if you gave a password form so you can fill it such as you want.
after that if you get an error can't connect to mysql socket you can activate it using systemctl mysql start and try to log in into mysql in yout terminal.
sudo mysql -u root
and press enter,
next you should change the credential to login using this command okey:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'test';
exit
systemctl mysql restart
noted the 'test' is you password you can change it.
and congratulation you get you phpmyadmin you can open it on your browser using localhost/phpmyadmin
Comments
Post a Comment