The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Synchronize your databases with SqlSync iBot UNIX and Linux RSS News 0 05-08-2008 08:20 AM
Checking which databases are installed figaro UNIX for Dummies Questions & Answers 3 03-08-2008 11:31 AM
Security Databases are corrupt. HELP!! gseyforth Security 2 05-21-2002 03:12 PM
Unix and databases tyranunn UNIX for Dummies Questions & Answers 1 02-20-2002 01:26 PM
ASP and Databases on UNIX? dkropolis UNIX for Dummies Questions & Answers 5 06-07-2001 02:00 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-14-2005
Registered User
 

Join Date: Sep 2005
Posts: 3
Accessing databases using sql*plus on HP box

When I try to connect to databse from HP box using the following command

sqlplus <username>@<databasename>

I get this error message:

ksh: <database name> : not found

I can connect to the database outside the UNIX box using sqlplus though.

Looks like the problem is the way HP Unix is interpreting the the key "@"

Can someone help with this?
Reply With Quote
Forum Sponsor
  #2  
Old 09-14-2005
Registered User
 

Join Date: Jan 2005
Posts: 682
What happens when you type sqlplus by itself? You should be prompted with something like this:
Code:
$ sqlplus

SQL*Plus: Release ...
...

Enter user-name:
Reply With Quote
  #3  
Old 09-14-2005
Registered User
 

Join Date: Sep 2005
Posts: 3
Yes, that works
Reply With Quote
  #4  
Old 09-14-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Type:
stty -a
You will probably see
intr = DEL; quit = ^\; erase = ^H; kill= @

Use the command:
stty intr ^c kill ^?
to fix that.
Reply With Quote
  #5  
Old 12-21-2005
Registered User
 

Join Date: Dec 2005
Location: Pune
Posts: 78
or else just put \ (backslash) before @ in ur sqlplus command.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0