Odbc And Tge
by Lisa Kelly · in Technical Issues · 04/07/2008 (5:28 pm) · 4 replies
Hi ,
I am getting this error when i run torque with my database, any help would be appreciated
*******************************************************************************
***** Initializing the database...
***** Using ODBC Driver: MySQL ODBC 3.51 Driver
PlayWorld/server/db/init.cs (44): Unable to instantiate non-conobject class DatabaseConnection.
***** software: 0
****** driver: MySQL ODBC 3.51 Driver connectionstring server=localhost;database=starter_rpg;user=TESTER;password=password;option=3;
PlayWorld/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.
*******************************************************************************
I really need to get this sorted as soon as possible, Thanks
I am getting this error when i run torque with my database, any help would be appreciated
*******************************************************************************
***** Initializing the database...
***** Using ODBC Driver: MySQL ODBC 3.51 Driver
PlayWorld/server/db/init.cs (44): Unable to instantiate non-conobject class DatabaseConnection.
***** software: 0
****** driver: MySQL ODBC 3.51 Driver connectionstring server=localhost;database=starter_rpg;user=TESTER;password=password;option=3;
PlayWorld/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.
*******************************************************************************
I really need to get this sorted as soon as possible, Thanks
#2
04/07/2008 (6:06 pm)
I have the class DatabaseConnection added to the engine Console folder through Visual Studio but am unable to open any of the Playworld files in visual studio as they are .cs files. How do I overcome this?
#3
04/08/2008 (10:54 am)
Does not: "Unable to instantiate non-conobject class DatabaseConnection" mean that there is no datablock of DatabaseConnection? You can open the script files with notepad or something like that.
#4
Lisa - please see my comments in your other thread on what your issue might be.
04/15/2008 (10:57 am)
Ted - No it has nothing to do with datablocks, the error is telling Lisa that the class DatabaseConnection has not been coded correctly in the engine itself - there are few things you must do as a minimum to create objects available in the console/script engine i.e. setting a parent object, declare as a conobject, definining consolemethods, etc.Lisa - please see my comments in your other thread on what your issue might be.
Torque Owner Mike Rowley
Mike Rowley