Kirti S. Bajwa wrote:
> Hello List:
>
> RH 9
> MySQL 4.0.18
>
> Just did a fresh Binary install of MySQL. Also installed support for
> Perl/DBI/DBD:
>
> Question:
>
> (1) I am going to setup a MySQL Client machine on a different Server. I
> notice I can't install a Client MySQL from Binary MySQL distro. Is it correct?
Sort of. The binary installs the server and client. You can run the
installer then throw out what you won't use.
> (2) On a Client MySQL machine, it it necessary to START MySQL or just
> connecting to the MySQL Server does the job?
Starting MysQL means starting the server (mysqld). That only makes sense on
the server machine. On a client machine, you simply use the client to
connect to the already running server on the server machine.
> (3) On a Client MySQL machine, is there any need to install support for
> Perl/DBI/DBD or support comes from the MySQL Server?
That depends on what you mean. If you wish to run a Perl script on the
client machine, you must have Perl installed on the client machine. If you
wish to use DBI/DBD with Perl on the client machine, you have to install
them on the client machine. The client machine can't run the copy of Perl
installed on the server. On the other hand, the mysql client program itself
has no need of Perl, so you don't need to install Perl on the client unless
you want to.
> (4) After I installed Perl/DBI/DBD, the cursor was still on "cpan>". How
> do I get out of this shell? Forexample: When one is in mysql shell, QUIT
> takes out of the mysql shell.
Enter "quit" at the cpan> prompt.
> Thanks.
>
> Kirti