MySql connection problem
by CloudFire · in Torque Developer Network · 02/27/2010 (12:15 am) · 1 replies
Hi All
I am using torque 3d demo version. I am trying to connect mysql in remote dedicated server.
when i am trying with the below code
%sql = new Mysql();
%sql.host = "202.191.62.230";
%sql.port = 0;
%sql.user = "user";
%sql.pwd = "pass";
i am receving an following error. Unable to instantiate non class object MySql().
I have one doubt.
is it possible to call c++ functions from torque scripting.
%sql = new Mysql() - is the statement is correct. or torque have some statement equal for that.
please give me an exact statement to work for my code.
thanks and regards
I am using torque 3d demo version. I am trying to connect mysql in remote dedicated server.
when i am trying with the below code
%sql = new Mysql();
%sql.host = "202.191.62.230";
%sql.port = 0;
%sql.user = "user";
%sql.pwd = "pass";
i am receving an following error. Unable to instantiate non class object MySql().
I have one doubt.
is it possible to call c++ functions from torque scripting.
%sql = new Mysql() - is the statement is correct. or torque have some statement equal for that.
please give me an exact statement to work for my code.
thanks and regards
Associate David Montgomery-Blake
David MontgomeryBlake