I performed a search and did not really find what I was looking for so here goes.
I am looking to buy a laptop in the next 30 days. I really want a laptop with Linux already installed. I am not picky about the flavor of Linux as long as it is a current release. I also do not need a super,... (1 Reply)
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)
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)
I want to check which databases are installed on my FreeBSD installation. This is what I did: pkg_info | grep mysql
How do I check all in one go whether also sqlite, postgresql, firebird is installed?
Thanks in advance (3 Replies)
I currently use this construction to check whether a certain program is installed:
if ; then
cd /usr/ports/databases/sqlite3 && make install clean
else
echo "sqlite already installed"
fi
Is this method recommended? Is this an effective method, ie sufficiently robust for... (3 Replies)
Hi Guys,
I am trying to install DBI and DBD-MYSQL for strawberry perl.
But i am not able to install.
:wall:
DBD-MYSQL
>> makefile.pl
gives error as
'Access denied for user 'ODBC'@'localhost' (using password: NO)'. (7 Replies)
Hi Guys
I am working on a project where is looking after the infrastructure and they have delivered RHEL servers.
I need to confirm if PGP has been installed on the newly delivered linux servers.
Is there any command I can run or directory I can go in to find that out.
Any help will be... (5 Replies)
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)
Hello everyone from Tenerife, Canary Islands.
How can i see in Debian or similar operating system the installed drivers or controllers ?
Best Regards
https://image.ibb.co/kC5C87/winkho2.gif (1 Reply)
Discussion started by: JohnFissburyn
1 Replies
LEARN ABOUT MOJAVE
dbd::sponge
DBD::Sponge(3) User Contributed Perl Documentation DBD::Sponge(3)NAME
DBD::Sponge - Create a DBI statement handle from Perl data
SYNOPSIS
my $sponge = DBI->connect("dbi:Sponge:","","",{ RaiseError => 1 });
my $sth = $sponge->prepare($statement, {
rows => $data,
NAME => $names,
%attr
}
);
DESCRIPTION
DBD::Sponge is useful for making a Perl data structure accessible through a standard DBI statement handle. This may be useful to DBD module
authors who need to transform data in this way.
METHODS
connect()
my $sponge = DBI->connect("dbi:Sponge:","","",{ RaiseError => 1 });
Here's a sample syntax for creating a database handle for the Sponge driver. No username and password are needed.
prepare()
my $sth = $sponge->prepare($statement, {
rows => $data,
NAME => $names,
%attr
}
);
o The $statement here is an arbitrary statement or name you want to provide as identity of your data. If you're using DBI::Profile it
will appear in the profile data.
Generally it's expected that you are preparing a statement handle as if a "select" statement happened.
o $data is a reference to the data you are providing, given as an array of arrays.
o $names is a reference an array of column names for the $data you are providing. The number and order should match the number and
ordering of the $data columns.
o %attr is a hash of other standard DBI attributes that you might pass to a prepare statement.
Currently only NAME, TYPE, and PRECISION are supported.
BUGS
Using this module to prepare INSERT-like statements is not currently documented.
AUTHOR AND COPYRIGHT
This module is Copyright (c) 2003 Tim Bunce
Documentation initially written by Mark Stosberg
The DBD::Sponge module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. In particular
permission is granted to Tim Bunce for distributing this as a part of the DBI.
SEE ALSO
DBI
perl v5.18.2 2013-06-24 DBD::Sponge(3)