Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
problem installing DBD::mysql 2.9004

problem installing DBD::mysql 2.9004

2005-01-07       - By National Stistics Office - Region XI

 Back
Reply:     1     2  

its been quite a while i am trying to test and install DBD::mysql 2.9004 on
my system under windows 2000.
here's some test id made.

to jan eden would you pls help how to make some script same as you are
doing with your project queried via perl script to generate my website.
because i am trying make some query tools like you did.
any reply would be appreciated
nsoXI@(protected)

installation and test of DBI 1.45 -- ---- ok success
installation and test of dbd::mysql 2.9004 -- ---- failed.

C:\dbdmy2.9004>perl makefile.pl --cflags="-IC:\tmp\mysql-static\Imysql.h"
--libs
="-LC:\tmp\mysql-static\Lmysqlclient.lib"
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
I will use the following settings for compiling and testing:
cflags (Users choice) = -IC:\tmp\mysql-static\Imysql.h
libs (Users choice) = -LC:\tmp\mysql-static\Lmysqlclient.lib
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Using DBI 1.45 (for perl 5.008004 on MSWin32-x86-multi-thread) installed in
c:/P
erl/site/lib/auto/DBI/
Writing Makefile for DBD::mysql
in dos shell while trying to test and install dbd::mysql
i dont know if it is same error when u combine 32 and 64 bit libraries?
it is probably related to the usage of my shared libraries like:
mysqlclient.lib and mysql.h
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ----

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ----

-- ---- ---- ---oooooooooooooo-- ---- ---- ---- ---- ---- ---- -----
sample script to test the connection of dbd::mysql

#!/usr/bin/perl-w
use DBI;
use strict;
my($dsn)= "DBI:mysql:mysql:user:localhost";
my($user_name)="test";
my($password)="test";
my($dbh);
$dbh=DBI->connect($dsn,$user_name,$password)
or die"Could not connect";
if($dbh)
{
print"connected na po sa mysql\n";
}
exit(0);


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ---

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
-- ---

output: failed with dsiplayed available drivers:
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @(protected) (@(protected)
contains: . c:/Perl/lib c:/Perl/site/lib .) at (eval 1) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
at C:\Perl\SAMPLE\connect.pl line 11

thanks very much
any reply would be greatly appreciated
naz,


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/perl?unsub=mysql@(protected)