Posts

Showing posts from September, 2018

Connect more than one instance in phpmyadmin

Go to phpmyadmin GUI Go to previleges -> editprevileges -> Change Password type password -> retypepassword After Go to phpmyadmin folder chnage file config.inc.php $cfg['Servers'][$i]['host'] = 'hostip';         $cfg['Servers'][$i]['port'] = '3306';         $cfg['Servers'][$i]['socket'] = '';         $cfg['Servers'][$i]['connect_type'] = 'tcp';         $cfg['Servers'][$i]['extension'] = 'mysqli';         $cfg['Servers'][$i]['compress'] = TRUE;         $cfg['Servers'][$i]['auth_type'] = 'config';         $cfg['Servers'][$i]['user'] = 'admin';         $cfg['Servers'][$i]['password'] = 'password';

GIT create a new repository on the command line

create a new repository on the command line echo "# mynewrepository" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/radheymishra/mynewrepository.git git push -u origin master …or push an existing repository from the command line git remote add origin https://github.com/radheymishra/mynewrepository.git git push -u origin master user@user-HP-2000-Notebook-PC:~/Documents/devloper1$ ls user@user-HP-2000-Notebook-PC:~/Documents/devloper1$ git init Initialized empty Git repository in /home/user/Documents/devloper1/.git/ user@user-HP-2000-Notebook-PC:~/Documents/devloper1$ git clone https://github.com/radheymishra/mynewrepository.git Cloning into 'mynewrepository'... warning: You appear to have cloned an empty repository. Checking connectivity... done. user@user-HP-2000-Notebook-PC:~/Documents/devloper1$ git init Reinitialized existing Git repository in /home/user/Documents/devlope...