Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
twcore and connecting to SQL

 
Post new topic   Reply to topic Printable version
 View previous topic  a few problems :$ Post :: Post Soccer bot  View next topic  
Author Message
Guest



Offline

PostPosted: Mon Nov 06, 2006 1:27 pm    Post subject: twcore and connecting to SQL Reply to topic Reply with quote

Ok i'm trying to connect to MySQL via locally. But when I run the bots, it gives an error and says "missing driver?". Its MySQL 5 and all the other bots work fine. Any ideas?

thax
Back to top
BDwinsAlt
Agurus's Posse


Age:34
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Mon Nov 06, 2006 4:47 pm    Post subject: Reply to topic Reply with quote

There is a JDBC driver, (been so long I can't remember) that you have to have. I got the bots to connect to the mysql server but for some reason I couldn't get it to insert data. At that time I didn't understand mysql but I understand it better now. I don't play with TWCore that much anymore.

Helpful links:

Talks about JDBC: http://www.javaworld.com/javaworld/jw-07-2000/jw-0707-jdbc.html
Drivers: http://java.sun.com/products/jdbc/download.html


Good luck.

If you want to be successful you'll need to know a lot about how mysql works and java.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Mon Nov 06, 2006 5:54 pm    Post subject: Reply to topic Reply with quote

In corecfg/sql.cfg make sure any entry that starts with Driver = com.mysql.jdbc.Driver

Also check your runbots script (you can edit it with right click) and make sure that the jar on the classpath is the one in the misc folder.

Downloading a newer jar and updating the classpath in here is probably not a bad idea.
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 452 page(s) served in previous 5 minutes.

phpBB Created this page in 0.416212 seconds : 27 queries executed (93.9%): GZIP compression disabled