RE: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

2009-10-05 Thread Gavin Towey
30 PM To: Gavin Towey Cc: mysql@lists.mysql.com Subject: Re: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6 Here is the error I am receiving ( I posted this issue in the recent past): dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.10.0/darwi

Re: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

2009-10-05 Thread Hagen Finley
Here is the error I am receiving ( I posted this issue in the recent past): dyld: lazy symbol binding failed: Symbol not found: _mysql_init Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle Expected in: flat namespace dyld: Symbol not found: _mysql_

RE: Mysql Perl DBI DBD Version Compatability for MAC OS 10.6

2009-10-05 Thread Gavin Towey
MySQL Server can be 32 or 64 bit and it shouldn't make a difference to PERL. However, if you can run 64 bit, you should. PERL and it's modules all need to be the same architecture. It doesn't matter if they're 32 bit or 64 bit, as long as it's consistent with itself. I see no reason why those

Re: MySQL, perl, last_insert_id() question

2008-01-29 Thread Baron Schwartz
Hi, On Jan 28, 2008 3:29 PM, Dean Karres <[EMAIL PROTECTED]> wrote: > Hi, > > I know that someone is going to say, "go ask the perl module guys" and > I will but they are likely to say, "go ask the MySQL guys". I'll be > asking in both groups. > > I am installing a script on a brand new RedHat, F

Re: MySQL, perl, last_insert_id() question

2008-01-28 Thread Octavian Rasnita
Do you have the latest version of DBI and DBD::mysql installed? First try: $ cpan cpan> install DBI cpan> install DBD::mysql You can also do: my $sth = $dbh->prepare("select last_insert_id()"); $sth->execute(); my ($last_insert_id) = $sth->fetchrow_array(); Octavian - Original Message --

RE: MySQL & Perl

2005-01-22 Thread Paul DuBois
At 13:28 -0800 1/22/05, Gerald Preston wrote: Hi! I am totally lost here and I know this is a no brinier. I do not know what I am doing wrong: I can access from the command line by "mysql -u gjw -p" then "use club" and I can do anything I want. I am trying to access by Perl: # line 6 following my

RE: MySQL & Perl

2005-01-22 Thread Gerald Preston
Hi! I am totally lost here and I know this is a no brinier. I do not know what I am doing wrong: I can access from the command line by "mysql -u gjw -p" then "use club" and I can do anything I want. I am trying to access by Perl: # line 6 following my $dbh=DBI->connect( 'DBI:mysql:gjw:club', '

Re: MySQL & Perl

2005-01-14 Thread Peter Brawley
Gerald, Your connect string needs to be DBI:mysql::. PB - Gerald Preston wrote: I am trying to get Perl to talk to MySQL that I have setup. According to "WinMySQLAdmin1.4" Local Host Name = GJW Local User name = Jerry Databases: GJW Club bar mysql test I am using the following

Re: MySQL & Perl

2005-01-14 Thread O'K Web Design
Hi Gerald Looks like you need a username Jerry not gjw, here is the format I use to connect. Mike $dsn = "DBI:mysql:host=$host_name;database=$db_name" return (DBI->connect ($dsn, $username,$password, {PrintError => 0, RaiseError => 1})); - Original Message - From: "Gerald Pr

Re: MySQL, Perl 5.8 vs Perl 5.6

2002-11-18 Thread Octavian Rasnita
Were you able to install the module DBD::mysql with perl 5.8??? Have you used ppm? I was fighting a lot to install the DBD::mysql with perl 5.8 but it told me that a PPD file for this package could not be found. I found another module named DBD::mysqlPP for pure perl and it works in the same way.

Re: MySql/Perl installation problem

2002-04-07 Thread Chris Evans
I have downloaded and installed DBD-mysql-2.1011, which has allowed the test suite $MYSQL_HOME/sql-bench/run-all-tests to complete successfully. (I had thought that the insert test was not working, but I was simply too impatient--it took about 45 min of clock time to run.) Everything is working

Re: MySql/Perl installation problem

2002-04-07 Thread Colin Faber
Hi, It doesn't sound to me that you've installed these packages (if they are packages) for the correct version of perl; Possibly they've been dumped in the OS default? (/usr/lib/perl5/5.00503) etc.? I suggest fetching the latest source from CPAN and building it manually. Chris Evans wrote: >

Re: MySQL Perl list

2001-04-06 Thread Peter J. Schoenster
On 6 Apr 2001, at 15:03, Kristopher Briscoe wrote: > Does anyone know of a good list(s) relating to PERL and MySQL? Also, > any good repositories of example code? As you are using the DBI you should be on the DBI list: http://lists.perl.org/showlist.cgi?name=dbi-users but you might be interes

Re: MySQL Perl list

2001-04-06 Thread Paul DuBois
On Fri, Apr 06, 2001 at 03:03:40PM -0700, Kristopher Briscoe wrote: > Does anyone know of a good list(s) relating to PERL and MySQL? Also, any > good repositories of example code? > > Thanks, > Kris- I dunno if it's _good_ or not, but it's a repository: http://www.kitebird.com/mysql-perl/ --