Posts

Showing posts from June, 2023

reset mysql root password

 $ sudo mysql -u root -p mysql> use mysql; mysql> select user,authentication_string, plugin,host from mysql.user; mysql> show variables like 'validate_passwords%'; mysql> sudo mysql_secure_installation; ....................................  $ sudo mysql -u root -p mysql > sudo mysql mysql > use mysql; mysql > select user, authentication_string,plugin, host from mysql.user; mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'password123A'; ............................................................................................................................................... ............................................................................................................................................... Link ::  https://www.youtube.com/watch?v=ltfvdQYR1hY This video has work once and changed my password . but again it is not working  but we can take the reference from ...

cpanel and github integration setup

 cpanel and github integration setup ::  https://dev.to/eunit/how-to-automatically-deploy-from-github-git-to-cpanel-d36

mysql password change or setup

service mysql start service mysql stop

add ssh key to github prooject

$ ssh-keygen   - Run this command at the terminal.  when the ssh key will be generated then the path will be given  $ cat~/.ssh/id_rsa.pub $ cat ~/.ssh/id_rsa.pub $cat/home/dwijendra/.ssh/id_rsa.pub $cat /home/dwijendra/.ssh/id_rsa.pub in cat and this path /home/dwijendra/.ssh/id_rsa.pub  - space will be there  after that one ssh key will come copy that  and paste in github - settings - add ssh key then clone the project.