Question about DBI connection
Next message: James Collins: "RE: Question about DBI connection"
To: <dbi-users@perl.org>
Date: Mon, 31 May 2004 12:59:55 +0200
Hello all, I wrote this simple code :
-------------------------------------
require 'DBI';
dbh = DBI.connect('DBI:Mysql:test','username','password');
dbh.disconnect;
----------------------------------------------------------
When I try to execute it, I've this message : "Too many argouments for
connect at filename ....".
Why? May someone help me?
Thank a lot
Paolo
Next message: James Collins: "RE: Question about DBI connection"
Relevant Pages
- Re: DBI v2 - The Plan and How You Can Help
... I can see room for all of them, but all of this is really a DBD, not a DBI, issue. ... and some of them have to resort to search-n-replace in the SQL string at execute() time since the database doesn't have native support. ... ie, on Pg the STHs would be built before the DB is connected, and on Oracle they are built the first time they are used. ... well I am thinking of large program environments here where data dictionaries and generated SQL are the norm. ... (perl.dbi.users) - request for clarification, was (DBD::DB2 execute and finish problem)
... DBI documentation says execute on a an active statement should imply a finish ... (perl.dbi.users) - ForEach Loop, getting filename - help?
... OK - I'm trying to loop through all the *.txt files in a certain ... filename as an argument to the executable. ... page, I created a new variabe, and saved it. ... calling the executable in the execute process task. ... (microsoft.public.sqlserver.dts) - Re: Memory access problem with DBI or DBD-Mysql?
... It seems that the problems are only with the "do" method and not with the "execute", so I looked for the differences between them. ... I want to repeat that the problem manifest itself only under OpenBSD because of it's memory management that cause the program to segfault if try to access a non allocated memory. ... I'm using DBI 1.45 and DBD-Mysql 2.9008. ... (perl.dbi.users) - Re: DBI v2 - The Plan and How You Can Help
... Darren Duncan wrote: ... of them, but all of this is really a DBD, not a DBI, issue. ... > DBD to decide whether to actually do anything with it immediately or not. ... a database) in your BEGIN block, and execute thousands of times after that. ... (perl.dbi.users) |
|