List:MySQL and Perl« Previous MessageNext Message »
From:Michael Widenius Date:April 19 1999 10:01pm
Subject:Setting up dbi acces to remote db
View as plain text  
>>>>> "Joe" == Joe Junkin <jjunkin@stripped> writes:

Joe> Hi, Up until this I have been using Apache/Perl/DBI/MySQL/DBD to access a
Joe> database that is local. Works fine. Now I want to break them up so that the
Joe> database engine and the web server each run on their own dedicated machine to
Joe> increase the load capabilities.

Joe> So I will be running a perl cgi app through apache that accesses a database on
Joe> another machine via the TCP/IP port.

Joe> So after I installed DBI on the webserver, I tried to install the MySQL DBD
Joe> within Msql-Mysql-modules but install fails right at the initial perl
Joe> 'Makefile.PL'.

Joe> The Makefile.PL routine is sniffing for the mysql installation and looks in
Joe> /usr/local. But the database is remote on another machine.

Joe> My platform is RH5.2 with K 2.2.6. I have tried installing the client RPM even
Joe> though I don't know if I need it. Yet the install still fails. How do I get the
Joe> MySQL:DBD installed without having the server local?

Joe> Thanks!

Hi!

To get the DBI to compile, you need the client and the development
RPM.

Regards,
Monty
Thread
Setting up dbi acces to remote dbJoe Junkin20 Apr
  • Setting up dbi acces to remote dbMichael Widenius20 Apr