Connection problem in MySQL
by TigerHeros · in Torque 3D Professional · 02/23/2010 (9:37 pm) · 1 replies
Hi….,
I am changing my torque server from Linux to windows server 2003. While doing so, I was unable to run my current project. I changed my Linux’s IP address to Window’s IP address in source code, still cannot run it. I found that some of the functions were not working in windows. It says ‘Unable to find the function’ (functions like gethostname() ).
This is the error which I get when I connect with MySQL database.
--------- Parsing Arguments ---------
*******************************************************************************
***** Initializing the database...
***** Using ODBC Driver: MySQL ODBC 3.51 Driver
44: Unable to instantiate non-conobject class DatabaseConnection.
***** software: 0
****** driver: MySQL ODBC 3.51 Driver connectionstring server=localhost;database=mydb;user=test;password=password;option=3;
scripts/server/db/init.cs (66): Unable to find object: '0' attempting to call function 'ConnectDriver'
***** Database error received while trying to connect to database.
***** End of database initialization.
Can anyone help me…?
About the author
Torque 3D Owner Ted Southard
You say you're switching from Linux to Windows- did you do a Windows build of the project with the MySQL resource added in?