From: Michael Widenius Date: April 19 1999 10:01pm Subject: Setting up dbi acces to remote db List-Archive: http://lists.mysql.com/perl/35 Message-Id: <14107.42874.526206.546909@monty.pp.sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> "Joe" == Joe Junkin 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