dbi.operation-error: blank in LOGIN
Date: Sun, 30 May 2004 14:51:55 -0600
I'm trying to run the following on an xp box.
import dbi, odbc
try:
s = odbc.odbc('DSN/username/userpassword')
cur = s.cursor()
cur.execute('select * from tablename')
print cur.description
for tup in cur.description:
print tup[0],
print
while 1:
rec = cur.fetchmany(10)
if not rec: break
print rec
except NameError,e:
print 'error ', e, 'undefined'
Which comes back with the error message
dbi.operation-error: blank in LOGIN
Any suggestions would be greatly appreciated.
p
Relevant Pages
- RFC: DBIx::Counter - persistent counter class with dbi storage
... I've been a CPAN consumer for so long, I thought it's about time to start contributing. ... connect_cached and prepare_cached methods of DBI. ... the dbi connection string, dbi login and dbi password, and the table ... under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available. ... (perl.dbi.users) - RFC: DBIx::Counter - persistent counter class
... I've been a CPAN consumer for so long, I thought it's about time to start contributing. ... connect_cached and prepare_cached methods of DBI. ... the dbi connection string, dbi login and dbi password, and the table ... under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available. ... (comp.lang.perl.modules) - Re: pam_acct_mgmt(): user account has expired (was Re: Login
... I enter my normal login and then my password. ... > The last error message will repeat with the number getting ... All accounts, including root, are "expired". ... 'pam_acct_mgmt: user accound has expired' ... (freebsd-questions) - RE: Loged ot direct at login
... Keyboard, Monitor, are you able to login?. ... Also look in the event Viewer for error messages that can shed some light on ... Look in the right Pane/window for error message with red or Yellow ... Click on the two pages to copy the error message then bring up the Notepad ... (microsoft.public.windowsxp.accessibility) - RE: Loged ot direct at login
... Keyboard, Monitor, are you able to login?. ... you have hardware issue, did you install any new hardware or software ... Also look in the event Viewer for error messages that can shed some light on ... Look in the right Pane/window for error message with red or Yellow ... (microsoft.public.windowsxp.accessibility) |
|