Use Variable for Connection String
Posted: Wed Mar 22, 2023 5:16 pm
I connect to a mysql database quite often in my scripts.
Is there a way to set a global variable with the connection string and use that when I connect to my database server?
That would help a lot as I have to change my password every 90 days. I would only need to change in one place if it could be a variable.
thanks
Alan
Is there a way to set a global variable with the connection string and use that when I connect to my database server?
That would help a lot as I have to change my password every 90 days. I would only need to change in one place if it could be a variable.
thanks
Alan