revowow Posted January 23, 2019 Share Posted January 23, 2019 I got the server to setup, create the Mysql, but i would like if the user forgot his Password and user to auto show it or send to email a reminder of his connection, whats easiest way to do this? Link to comment Share on other sites More sharing options...
Dennis Posted January 23, 2019 Share Posted January 23, 2019 You can create a simple Python script that prints the username and password: import clr; import System; clr.AddReference("TCAdmin.SDK"); Script.WriteToConsole(ThisService.Variables["MySQLUser"]); Script.WriteToConsole(ThisService.Variables["MySQlPassword"]); Link to comment Share on other sites More sharing options...
numpty Posted April 27, 2019 Share Posted April 27, 2019 or u cud use bat option on windows like i do with @echo off echo MySQL Server: %ThisService_IpAddress% echo Port 3306 echo MySQL User: %ThisService_MySQLUser% echo MySQL Password: %ThisService_MySQLPassword% adjust 3306 if using differnet port works perfect for my arma servers Link to comment Share on other sites More sharing options...
numpty Posted April 27, 2019 Share Posted April 27, 2019 when trying yours I only saw the DB not the password and am using the Same Variables here's screenshot https://i.imgur.com/iB6b0Z0.png Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now