Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Installing MySql DBD in dtrawberry perl Post 302527307 by vasanth.vadalur on Friday 3rd of June 2011 04:36:38 AM
Old 06-03-2011
Strawberry perl and mysql

Hi thanks..

>>perl makefile.pl

Done ---


But in next

>>dmake

it is giving error as poll.h is missing and fds not known?...etc??

---------- Post updated at 12:36 AM ---------- Previous update was at 12:19 AM ----------

Hi,

Finally i came to know that strawberry perl 5.12 version supports DBD-mysql 4.018.

I tried with DBD-mysql 4.019... Thts y lot of errors.


Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

perl module DBD-Oracle

I am trying to install Oracle perl module(DBD-Oracle). MY oracle server runs on solaris 8 while the machine am tring to install DBD-Oracle runs Suse linux 9(SLE 9) Oracle client library including sqlplus are NFS mount on my suse linux machine from my solaris oracle server but when I run make on... (1 Reply)
Discussion started by: hassan1
1 Replies

2. UNIX for Advanced & Expert Users

perl-DBD-Oracle

I am trying to install perl-DBD-Oracle-1.16-1.2.rpm on Suse (SLE 9), like rpm -Uvh perl-DBD-Oracle-1.16-1.2.rpm but I keep getting the following error message error: Failed dependencies: libclntsh.so.10.1 is needed by perl-DBD-Oracle-1.16-1.2.el4 libnnz10.so is needed by... (1 Reply)
Discussion started by: hassan1
1 Replies

3. Shell Programming and Scripting

DBD-Informix drive for windows version of perl

Hi, I want to know where can I download the DBD-Informix drive for windows version of perl. Regards, Mahehs :confused: (0 Replies)
Discussion started by: maheshsri
0 Replies

4. Solaris

How to set restricted user by rksh? Cannot use Perl module DBD::Oracle

Hi, all, I need to add a user to our system in order to let him use Oracle and Perl. We want him to remain in his home directory and have no access to our data and other users' files. I created a separate group for this user, and set his shell to rksh when I created his account, by which he... (2 Replies)
Discussion started by: alanlh
2 Replies

5. Shell Programming and Scripting

perl DBI/DBD Module -in cygwin

Hi all, I am trying to install the DBI module in perl using perl -MCPAN -e shell install 'DBI' --It is installing into the nuild directory properly but when it try to make it is saying NOT OK -I tried to copy the module manually to the /lib/perl5/vendor_perl ... (3 Replies)
Discussion started by: jambesh
3 Replies

6. UNIX and Linux Applications

help: error in installing perl module DBD::mysql

Hi, I am trying to install perl module DBD::mysql and don't know how to resolve the following: # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.............ok 3/5install_driver(mysql) failed: Can't load... (3 Replies)
Discussion started by: Yogesh Sawant
3 Replies

7. UNIX for Advanced & Expert Users

Error during installing DBD-mysql-4.005

Hi, Iam not able to install DBD-mysql-4.005 into my Sun machine as the error comes - perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config I will use the following settings for compiling and testing: cflags (mysql_config ) = -I/usr/local/mysql/include/mysql ... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

8. Shell Programming and Scripting

Installing Perl DBI and DBD

Hi, i have some queries on installing the Perl DBI and the DBD Oracle. I know that i have to install the DBI first. I have the source files in a folder in my home directory.The commands to install arecd /home/DBI Perl Makefile.PL make make installI would like to know, after executing these... (4 Replies)
Discussion started by: new2ss
4 Replies

9. Shell Programming and Scripting

checking which mysql dbd is installed on linux

Hi, I am new to linux, and i want to know which mysql dbd is installed on linux, what is the command to check this. bash-2.05$ uname -a Linux SURINT01 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown Thanks Prakash GR (6 Replies)
Discussion started by: prakash.gr
6 Replies

10. UNIX for Advanced & Expert Users

PERL DBD make test on Linux failing

I am installing Oracle DBD to PERL 5.16.3 and during make test , I am running into this error :rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/opt/oracle/product/11.2.0/racdb11204/lib" gcc -m32 -shared -O2 -L/usr/local/lib -fstack-protector Oracle.o dbdimp.o oci8.o -o... (3 Replies)
Discussion started by: talashil
3 Replies
Data::ObjectDriver::Driver::DBD(3pm)			User Contributed Perl Documentation		      Data::ObjectDriver::Driver::DBD(3pm)

NAME
Data::ObjectDriver::Driver::DBD - base class for database drivers SYNOPSIS
package SomeObject; use base qw( Data::ObjectDriver::BaseObject ); __PACKAGE__->install_properties({ ... driver => Data::ObjectDriver::Driver::DBI->new( ... dbd => Data::ObjectDriver::Driver::DBD->new('mysql'), ), }); DESCRIPTION
Data::ObjectDriver::Driver::DBD is the base class for database drivers. Database drivers handle the peculiarities of specific database servers to provide an abstract API to the object drivers. While database drivers operate on queries and database concepts like the last insert ID and binding attributes for a query, object drivers operate on objects higher level concepts like caching and partitioning. Database drivers are used with "Data::ObjectDriver::Driver::DBI" object drivers. If you are making an object driver that doesn't use "DBI", you do not need a database driver; implement your custom behavior in your "Data::ObjectDriver" subclass directly. USAGE
"Data::ObjectDriver::Driver::DBD->new($name)" Creates a new database driver of the given subclass type. That is, "new('mysql')" would create a new instance of "Data::ObjectDriver::Driver::DBD::mysql". "$dbd->init_dbh($dbh)" Initializes the given database handle connected to this driver's type of database. By default, no operation is performed. Override this method if your type of database must do further initialization that other database servers don't need, such as setting an operative time zone. "$dbd->bind_param_attributes($type)" Returns a hashref to pass to the "DBI" statement method "bind_param", to describe the SQL type of a column defined as $type in an object class's "column_defs" mapping. By default, no operation is performed. Override this method if your type of database needs such type hinting for some fields, such as specifying a parameter is a "BLOB". Note that object classes must define your custom types in their "column_defs" mappings for those classes to be compatible with your "DBD". Make sure to document any custom types you implement. "$dbd->db_column_name($datasource, $column)" Returns a decorated column name. For example, if your database requires column names to be prepended with table names, that concatenation would occur in this method. By default, "db_column_name" returns the column name unmodified. "$dbd->fetch_id()" Returns the autogenerated ID of the most recently inserted record, or "undef" if this feature is not supported. By default, "fetch_id" returns "undef". "$dbd->map_error_code($code, $msg)" Returns a "Data::ObjectDriver::Errors" code for the given database error, or "undef" if no equivalent has been defined. By default, "map_error_code" returns "undef" for every error. "$dbd->sql_for_unixtime()" Returns the SQL for querying the current UNIX time on the database server, or a UNIX time to use as the remote time. By default, "sql_for_unixtime" returns the value of perl "time()" on the local machine. "$dbd->offset_implemented()" Returns true if the database this driver represents supports "OFFSET" clauses. By default, "offset_implemented" returns true. "$dbd->can_delete_with_limit()" Returns true if the database this driver represents supports "LIMIT" clauses on "DELETE" statements. By default, "can_delete_with_limit" returns false. "$dbd->can_prepare_cached_statements()" Returns true if the database this driver can cope with preparing a cached statement. By default, "can_delete_with_limit" returns true. "$dbd->is_case_insensitive()" Returns true if the database this driver represents normally compares string fields case insensitively. By default, "is_case_insensitive" returns false. "$dbd->can_replace()" Returns true if the database this driver represents supports "REPLACE INTO" statements. By default, "can_replace" returns false. "$dbd->force_no_prepared_cache()" Returns false if the database this driver represents supports the "prepare_cached" method on its DBI database handles. By default, "force_no_prepared_cache" returns false. "$dbd->sql_class()" Provides the package name of the class responsible for representing SQL queries. This method returns 'Data::ObjectDriver::SQL', but may be overridden to return a package that has a similar interface but produces SQL that is compatible with that DBD driver. The package provided must already be loaded and available for use. LICENSE
Data::ObjectDriver is free software; you may redistribute it and/or modify it under the same terms as Perl itself. AUTHOR &; COPYRIGHT Except where otherwise noted, Data::ObjectDriver is Copyright 2005-2006 Six Apart, cpan@sixapart.com. All rights reserved. perl v5.12.4 2011-08-29 Data::ObjectDriver::Driver::DBD(3pm)
All times are GMT -4. The time now is 12:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy