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
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_
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
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
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 --
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
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', '
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
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
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.
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
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:
>
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
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/
--
14 matches
Mail list logo