We can use the mysql through cmd by following the simple commands
1.First open the cmd/terminal and go to the root directory by using this command :
2.Aftet root directroy go inside xampp/mysql/bin directory by using the following commands :
Code for mysql connection with php
1. In the below we can deifne our host name. For local you can use localhost. If you want to acces the other host then put that host name or Server IP here
2.This code for db user name. For...