Hello Wilson,
I do not have enough information to assist at this time.
What version of SecureCRT are you using?
On what platform?
The lines provided don't seem to have anything to do with connecting via SecureCRT.
Is that the complete script?
Is the MySQL database on the same machine where SecureCRT is installed?
If not, see the Scripting / Script Objects Reference / Session Object topic in SecureCRT's Help file for information on the Connect() and ConnectInTab() methods available to SecureCRT's Session Object.
__________________
Thanks,
--Brenda
VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
|