Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > Newby needs connection help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-26-07, 18:51
mattjclark mattjclark is offline
Registered User
 
Join Date: Nov 2007
Posts: 5
Newby needs connection help

Hello DB Pros,

I haven't worked with databases much so I apologize it this question is a little fundamental. I'm working with an iAnywhere 9 database and I'm having some connectivity issues.

I can't seem to establish connectivity to this database because the database says I have the wrong UID and PW.

The last SQL script that was run against the database is as follows:

GRANT CONNECT TO "abc" IDENTIFIED BY ENCRYPTED '\x0E\x49\x5D\xE9\x34\x25\x27\xD8\x8E\xF5...'
go
GRANT CONNECT TO "abc" IDENTIFIED BY "SQL"
go
CONNECT USING 'UID=abc;PWD=SQL'
go
REVOKE CONNECT FROM "DBA"
go
GRANT CONNECT TO "abc" IDENTIFIED BY ENCRYPTED '\x0E\x49\x5D\xE9\x34\x25\x27\xD8\x8E\xF5...'
go
commit work
go




Basically I'm wondering if anyone could give me an idea of what I might be doing wrong, or different things to try to access this database.

Thanks,
Matt
Reply With Quote
  #2 (permalink)  
Old 12-27-07, 07:44
Martijnvs Martijnvs is offline
Who? Me?
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 274
This looks like Oracle-syntax, but it's posted in the Sybase-subforum. I'd try and ask this question in the Oracle-subforum...
__________________
I'm not crazy, I'm an aeroplane!
Reply With Quote
  #3 (permalink)  
Old 12-29-07, 14:39
trvishi trvishi is offline
Registered User
 
Join Date: Sep 2003
Location: Switzerland
Posts: 371
Quote:
Originally Posted by Martijnvs
This looks like Oracle-syntax, but it's posted in the Sybase-subforum. I'd try and ask this question in the Oracle-subforum...

Its SQL Anywhere which is a different database product for mobile and small applications.

To the OP,

GRANT CONNECT TO "abc" IDENTIFIED BY ENCRYPTED '\x0E\x49\x5D\xE9\x34\x25\x27\xD8\x8E\xF5...'

Im not that experienced with Anywhere, but it looks like the last statement changed the password for abc and its encrypted.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On