Login failure

Post Reply
chand012
Posts: 70
Joined: Mon Dec 18, 2000 4:34 pm

Login failure

Post by chand012 »

When I issue the command below, I get a login failure:

bash-2.03$ texis -u _SYSTEM -p '********' "select * from SYSCOLUMNS"
Texis Web Script (Vortex) Copyright (c) 1996-2000 Thunderstone - EPI, Inc.
Commercial Version 3.01.959738425 of May 30, 2000 (sparc-sun-solaris2.5.1)

000 Login failure in the function permstexis
000 Could not connect to . in the function openntexis

However, when I run the same command without -u -p OR the same command with -d, it works (so it's not a bad password). What could be wrong?

Thanks,
David
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Login failure

Post by mark »

texis requires you use tell it what database with -d if you don't want it to use the database, if any, in the current directory (.). Notice the error "Could not connect to .".
chand012
Posts: 70
Joined: Mon Dec 18, 2000 4:34 pm

Login failure

Post by chand012 »

But, notice I said that the command works without -u -p -- i.e., texis "select * from SYSCOLUMNS". Anyway, I wonder whether some weirdness was caused by the presence of a "$" in the _SYSTEM password. I changed the password and it seems to work fine now. Or--perhaps--I lost track of my current dir before.

David
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Login failure

Post by Kai »

The "Could not connect to ." means it couldn't connect to the database in the *current directory*, which is what texis and tsql default to if no database is given with -d. You probably weren't in a database directory at the time of the command, so texis couldn't connect to the database, and therefore the login failed (regardless of user/password).
Post Reply