Results 1 to 2 of 2
Thread: Shell Script and Database
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2010
Shell Script and Database
Usually, there are commandline client programs for the databases.
Like "mysql" for the mysql daemon.
So you basically call the commandline client program with appropiate parameters and the sql statement in your shell script and then parse the output.
For anything more serious than an occasional task, I would advise not to use bash but perl/python/php/etcYou must always face the curtain with a bow.