472,139 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,139 software developers and data experts.

Linux Korn Shell 93 Connecting to a networked MySQL database.

mm
I have several korn shell scripts I use with a MySQL database on the
same server (Solaris). I am moving to a Linux environment where the
MySQL database is on another server. I would like to convert the
database connection code to connect to the database on another Linux
server. I see alot of information on Perl DBI CLI and PHP DBI CLI but

cannot find any examples of Korn Shell connecting to a database on
another server.

Is there a way to accomplish a network connection to a MySQL database
from Korn Shell? Any examples or information would be much
appreciated!

mm

Feb 9 '06 #1
1 2253
"mm" <un**********@yahoo.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Is there a way to accomplish a network connection to a MySQL database
from Korn Shell? Any examples or information would be much
appreciated!


I'm not sure I understand how you are accessing the MySQL database from Korn
shell. Are you simply using the command-line tools that come with MySQL?
For instance, mysql, mysqldump, mysqladmin, etc.

Most of the command-line tools support a "-h hostname" option with which you
can specify a remote host on which to perform the MySQL operations.

Regards,
Bill K.
Feb 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

24 posts views Thread by Google Mike | last post: by
14 posts views Thread by Jim Sabatke | last post: by
10 posts views Thread by callmebill | last post: by
10 posts views Thread by Markus Enders | last post: by
1 post views Thread by proba | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.