SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3

Thread: Server login

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Location
    Hillsboro
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Server login

    I'm trying to do a DBConnect with a database located on a server where there is guest access, however I'm logged into the machine running the scripts as Administrator. The machine tries to use the Administrator login to access the server housing the database. How can I programatically tell it to use a different username?

  2. #2
    Junior Member
    Join Date
    Oct 2000
    Location
    UK
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Server login

    Have you read the SilkTest help?

    The DB_Connect("con_string") command help tells you that you can login as a different user if the odbc driver supports it. The key part of the help is 'See your supplier's reference manual for the format of the string required for your driver'.

    Example
    hdbc = DB_Connect("DSN=QESS;SVR=PIONI;UID=sa;PWD=tester")

    Regards,

    Andrew

    ------------------

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Location
    Hillsboro
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Server login

    Thanks for your reply, however the DB_Connect function's username and password is for accessing the database file itself, it's not used for authenticating you on the server. I'm not sure if I clearly explained my problem.

    Any other ideas?

    Thanks!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:57 AM.

Copyright BetaSoft Inc.