RE: Installing MySql DBD without installing MySql- general questi on.

Install mysql client first

Anton

-----Original Message-----
From: Niles Reichardt [mailto:nlr@vetmed.wsu.edu]
Sent: Monday, June 18, 2001 6:02 PM
To: dbi-users@perl.org
Subject: Installing MySql DBD without installing MySql- general
question.


I am trying to install the DBI module and DBD for MySql on our application
server running HP-Ux 10.2. I have a Linux box set up as an Apache server
that is running MySql and want to query its database. When I run make (after
having run Makefile.PL) on the Mysql modules-1.2215 I get an "Error exit
code 1 Don't know how to make /usr/local/mysql/lib/mysql.h". Can't I install
the DBI on a machine without installing the database?
I have looked at O'Reilly's Programming the Perl DBI and MySQL & mSQL books
and they both show those neat diagrams of the DBI layer communicating
directly with the DB engine; and neither of them answer this particular
question.

		Thanks for your help,

					Niles
  
0
AKokarsk
6/19/2001 1:05:05 AM
perl.dbi.users 11085 articles. 1 followers. Follow

0 Replies
636 Views

Similar Articles

[PageSpeed] 26

Reply:

Similar Artilces:

Installing MySql DBD without installing MySql- general question.
------_=_NextPart_001_01C0F85B.7D4D3C60 Content-Type: text/plain; charset="ISO-8859-1" I am trying to install the DBI module and DBD for MySql on our application server running HP-Ux 10.2. I have a Linux box set up as an Apache server that is running MySql and want to query its database. When I run make (after having run Makefile.PL) on the Mysql modules-1.2215 I get an "Error exit code 1 Don't know how to make /usr/local/mysql/lib/mysql.h". Can't I install the DBI on a machine without installing the database? I have looked at O'Reilly's Programm...

Installing DBD::MySql without MySql installed
Hi, I would like to install the database driver for MySql, however I would like to not have to install MySql on the local machine. Is there a way of doing this? Thanks in advance, Joe Grastara Project Assistant Digital Media Center The Skirball Institute Of Biomolecular Medicine New York University Medical Center 540 First Ave., New York City, NY 10016 USA grastara@saturn.med.nyu.edu http://www.med.nyu.edu/graphics You should only need the client libraries for the machine you are on. -----Original Message----- From: Joe Grastara [mailto:grastara@saturn.med.nyu.ed...

Installing DBD::mysql without installing mysql on local machine
Hi, Wonder if someone could help me, I am trying to install DBD::mysql module to access a remote mysql database. I am getting errors when running Makefile.PL: Can't exec "mysql_config": No such file or directory at Makefile.PL line 169. I think I need to download some libraries? Do you know where I can get them? The version of mysql installed on the remote machine is 3.22.25. Many thanks in advance. Priss __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and M...

Re: Help Installing DBD for MySQL
--=_1332841D.E8890F86 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sad, I got the following error when I used the DBD::mysql. =20 ld.so.1: /usr/bin/perl: fatal: relocation error: file /a04_01/intranet/dept= /saoit/perl_module/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/my= sql.so: symbol mysql_init: referenced symbol not found Killed >>> calvin huang [SAO]<sacalvin@polyu.edu.hk> 06/24/04 11:55pm >>> Thanks Tim, =20 It seems working now though the make test still fails and have fatal = error! Wonde...

DBI / DBD / MySQL installation problem
Hi, (sorry for fairly lengthy post) I used to run Red Hat 9, and had a perfect relationship with Perl, DBI, and MySQL. However, after upgrading to Fedora Core 4, I am no longer able to connect to MySQL from Perl via DBI. My simple test script: --------------------------- #!/usr/bin/perl -w use strict; use DBI; my $dbh = DBI->connect("DBI:mysql:database=MyOwnDatabase;host=localhost", "MyUserName", "MySpecialPassword", {'RaiseError' => 1}); my $sth = $dbh->prepare("SELECT * FROM MainTable"); $st...

Re: error during DBD::Oracle installation (was: error during DBI installation)
------=_Part_6037_22545193.1207194199772 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Looks like time to get the development stuff you need installed. The log file says: Reading /export/home/oracle/product/9Iclient/precomp/lib/env_precomp.mk Attempting to discover Oracle OCI build rules gcc -c -I. -I/export/home/oracle/product/9Iclient/precomp/public -I/export/home/oracle/product/9Iclient/rdbms/public -I/export/home/oracle/product/9Iclient/rdbms/demo -I/export/home/oracle/product/9Iclient/plsql/public -I/export/hom...

Re: Help Installing DBD for MySQL #3
--=_E8C97EAE.5B3ADC58 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Thanks anyhow. I believe it is because the fact that the perl on my = solaris was compiled by SUNPro cc and the mysql binary was compiled by = gcc. There might not be a feasible work-around so far. I have spent half = day research the way to solve it.=20 =20 P.S. I am not the sys admin, so I cannot do anything. such as compiled the = perl again with gcc. And also I failed to compiled mysql with SUNPro cc. =20 Really sad. =20 Calvin >>> Tim Bunce <Tim.Bun...

New User: Problems with install DBD::mysql
Ok, I'm a newish Linux user, fresh install of Redhat 9.1, all RPMs uptodate.. When I install the Bundle::Bugzilla, everything works great up to the DBD::mysql section, at which point I get a stream of the following errors: <-- snip --> Unsuccessful stat on filename containing newline at /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97. <-- snip --> Followed by <-- snip --> Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/D...

Re: Help Installing DBD for MySQL #2
--=_6445F297.F697119A Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sad, I got the following error when I used the DBD::mysql. =20 ld.so.1: /usr/bin/perl: fatal: relocation error: file /a04_01/intranet/dept= /saoit/perl_module/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/my= sql.so: symbol mysql_init: referenced symbol not found Killed >>> calvin huang [SAO]<sacalvin@polyu.edu.hk> 06/24/04 11:55pm >>> Thanks Tim, =20 It seems working now though the make test still fails and have fatal = error! Wonde...

Re: Help Installing DBD for MySQL #4
--=_2F0EBEDD.AACB4C46 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Dear all, =20 I have succesfully tackle the problem. I will write in details how it was = done later when I have time. Thanks pals for giving me so much hints. = Cheers =20 Calvin >>> "Steven N. Hirsch" 06/25/04 06:59PM >>>=20 On Fri, 25 Jun 2004, calvin huang [SAO] wrote:=20 > Thanks anyhow. I believe it is because the fact that the perl on my=20 > solaris was compiled by SUNPro cc and the mysql binary was compiled = by=20 > gcc...

DBI-DBD mysql install message question
Good morning, Perhaps someone could answer this question for me. I've been working with DBD - mysql all morning and have gotten pretty much straight. There are two remaining error messages, i don't anything on the internet that explains them. t/50commit ...................ok 14/30 skipped: No transactions t/60leaks ...................skipped all skipped: no reason given If anyone could tell me what the messages mean and if they are a show stopper. thanks Joan Could you provide the affected source code for this section? -----Original Me...

[Fwd: Re: Error installing DBD::Mysql]
--------------030809070401020501040805 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, Can anyone help me on this please --------------030809070401020501040805 Content-Type: message/rfc822; name="Re: Error installing DBD::Mysql" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: Error installing DBD::Mysql" Newsgroups: perl.beginners.cgi Path: nntp.perl.org Xref: nntp.perl.org perl.beginners.cgi:7998 Return-Path: <aa@ntlworld.com> Mailing-List: contact beginners-cgi-help@...

Problems installing DBI and DBD::mysql to a local directory
------=_Part_220954_11196489.1231417963521 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, Would you be able to give me some advice on a DBI issue I'm having? I'm quite new to Perl and completely new to MySQL. I'm currently trying to install DBI (v1.607) and DBD::mysql (v4.010). I'm hoping to use these along with BioPerl and the Ensembl Perl API, to access the online genomic database Ensembl automatically. I'm trying to install both DBI and DBD::mysql to a local directory, as I don't have ...

Fix for problems installing DBD::mysql-2.9004 with mysql-4.0.20
Perl-5.8.5 compiled happily, now updating DBD::mysql with: mysql-standard-4.0.20-pc-linux-i686 DBD-mysql-2.9004 Catch is that newer mysql distro's use ./lib and ./include for their files not ./lib/mysql or ./include/mysql. Fix is to symlink '.' to mysql in the lib directory and use an explicit '-I' with the cflags. For example: $ perl Makefile.PL I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/local/mysql/include/mysql -mcpu=pentiumpro libs (mysql_config) = -L/usr/local/mysql/lib/my...

Web resources about - RE: Installing MySql DBD without installing MySql- general questi on. - perl.dbi.users

Help:Installing Japanese character sets - Wikipedia, the free encyclopedia
This help page will help you install Japanese character sets so that your computer will display them properly on the internet in your web browser ...

Earn Free Facebook Credits For Installing Apps — Of Course, There’s A Catch
This looks pretty cool at first: Earn free Facebook Credits for installing applications on your iPhone or Android device. AppDog offers this ...

Rooting and installing Android 1.5 JesusFreke - Flickr - Photo Sharing!
More information at: android.noisepages.com/2009/05/rooting-pics/

Installing ClearCal Anti-Glare Film for Glossy Displays - YouTube
Demonstration of how to install a RadTech ClearCal Anti-Glare Film on a MacBook Pro. ClearCal eliminates glare on glossy displays like Apple's ...

Fatal unit fire: Builder Ray Finianos reduced height of building to avoid installing fire sprinklers ...
The builder of&nbsp;a south-west Sydney unit block where a young woman plunged to her death during a ferocious fire told a certifier to reduce ...

'Green' light bulb moment for councils installing LED street lights
Nine Sydney councils are getting ready to turn off the lights &ndash; 13,000 of them &ndash; to save more than $20 million.

Iran installing new nuclear equipment
Sky News is Australia's leader in 24-hour news. Iran has begun installing next-generation equipment at one of its main nuclear plants, a new ...

Peter Garrett believed installing insulation batts 'not that hard', royal commission told
Former environment minister Peter Garrett believed installing insulation batts was ''not that hard'' based on his own personal experience, an ...

Gillard defends installing Slipper
BBC News Gillard defends installing Slipper Sydney Morning Herald Prime Minister Julia Gillard has defended her decision to install Peter ...

CSIRO says installing solar panels on roofs of businesses could take pressure off the electricity grid ...
Installing more solar panels on the roofs of businesses would help Australia's energy grid cope with increased demand.

Resources last updated: 1/15/2016 8:49:38 AM