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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1281 views
  • 0 likes
  • 2 in conversation