Problems Installing DBD::mysql

Problems Installing DBD::mysql

am 28.07.2005 14:50:46 von Charlene

I am trying to install DBD::mysql on a server that doesn't have MySQL on
it at all. Currently I'm only accessing MySQL on another server using
PHP. But I need to write a Perl script to do some background stuff, and
I really don't want to install MySQL on this server.

So far I've used this command

perl Makefile.PL --testhost=www.server.com --testuser=user
--testpassword=password --cflags=-I/usr/local/include/mysql/
--libs="-L/usr/local/lib/mysql/"

And although it has errors about mysql-config, it seems to work. But
when I get to the make command I get errors. Is there any flags I need
to set like I did with the first command?

Charlene

PS If I have to I'll install a MySQL client, but I can't find just that
at the MySQL website.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problems Installing DBD::mysql

am 29.07.2005 00:03:20 von Jochen Wiedmann

Charlene wrote:

> I really don't want to install MySQL on this server.

You need the MySQL client libraries, though. If you are using Linux,
look for a MySQL-client RPM, or something similar. Otherwise, you need
to get the MySQL sources and compile them with something like

./configure --prefix=/usr/local/mysqlclient-4.1.14 --without-server

> And although it has errors about mysql-config, it seems to work.

Don't believe it. :-)


Jochen

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Problems Installing DBD::mysql

am 29.07.2005 04:05:19 von Charlene

I've searched everywhere for MySQL-client for FreeBSD and I can't find it.

Charlene

Jochen Wiedmann wrote:

> Charlene wrote:
>
>> I really don't want to install MySQL on this server.
>
>
> You need the MySQL client libraries, though. If you are using Linux,
> look for a MySQL-client RPM, or something similar. Otherwise, you need
> to get the MySQL sources and compile them with something like
>
> ./configure --prefix=/usr/local/mysqlclient-4.1.14 --without-server
>
>> And although it has errors about mysql-config, it seems to work.
>
>
> Don't believe it. :-)
>
>
> Jochen
>

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org