BookmarkSubscribeRSS Feed
akshayn951
Calcite | Level 5

Hi,

    I want to connect with the MYSQL database from SAS Studio. I got the following Libname option:
  
libname mysqllib mysql user=myusr1 password=mypwd1 database=mysqldb server=mysrv1 port=9876;  
 
at the SAS documentation but I need some other way to connect so I can avoid these passwords and other credentials to show in SAS code.
Let me know if there is a way to do this in Base SAS Studio.
3 REPLIES 3
akshayn951
Calcite | Level 5
Yes I did read this blog. and currently checking for the AUTHDOMAIN= SAS/ACCESS option in SAS. But I'm not able to clearly understand How AUTHDOMAIN= works.
Can you give me a brief summary of how AUTHDOMAIN= works ?

Thanks.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1183 views
  • 0 likes
  • 2 in conversation