Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How Connect to a Database in Shell Programming?

Answer Posted / sibin kc

You can simply use as follows.

mysql -h <hostname> -u <user name> -p<password> -e "use
psa;select * from domains where domain_name = 'hai.com';"

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I start a shell script?

1217


What language is bash written in?

999


What lives in a shell?

969


How do I run a shell script in powershell?

1139


What does debug script mean?

985


What is subshell?

958


What does the sh command do?

1087


Is shell and terminal the same?

1070


What is sudo command?

1066


Why are there shells on the beach?

1158


What is @echo off?

1026


How do you debug a script?

1080


Is scripting and coding the same thing?

1003


Where are cowrie shells found?

1028


Explain about the slow execution speed of shells?

1234