1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
$ sqlplus -L scott/xxx@lsc08
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Sep 20 12:00:13 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0751: Unable to connect to Oracle. Exiting SQL*Plus
$ echo $?
1
$ sqlplus -L scott/xxx@lsc999
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Sep 20 12:00:19 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
SP2-0751: Unable to connect to Oracle. Exiting SQL*Plus
$ echo $?
1 |