Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 24 > OOTP 24 - General Discussions
Register Blogs FAQ Calendar Today's Posts Search

OOTP 24 - General Discussions Everything about the brand new 2023 version of Out of the Park Baseball - officially licensed by MLB, the MLBPA and the KBO.

Reply
 
Thread Tools
Old 08-22-2023, 07:00 PM   #1
mjkuhlen
Minors (Rookie Ball)
 
Join Date: Jul 2017
Posts: 21
OOTP & MySQL DB

Hey all, I've been working on a discord bot that brings some data from OOTP to discord for my online franchise. While I've been exporting SQL dump files from the Automator Panel, i noticed that on the Database panel in Game Settings there's an option to "Export data directly into a MySQL Database" this seems preferable to my setup but I can't quite seem to get it to work. I know the hostname, I know the port and database name but providing those doesn't seem to initiate a connection or transfer any data.

Has anyone had any luck working with this, or if someone from the OOTP teams sees this would you mind providing some insight? Thanks!
mjkuhlen is offline   Reply With Quote
Old 08-22-2023, 07:27 PM   #2
mjkuhlen
Minors (Rookie Ball)
 
Join Date: Jul 2017
Posts: 21
Well I see that it attempts to start but will generate these errors in the log:
2023-08-22 19:00:19 write_to_mysql: Error, could not connect to MySQL database
2023-08-22 19:00:19 write_to_mysql: Error, no connection to MySQL database
mjkuhlen is offline   Reply With Quote
Old 08-23-2023, 04:42 PM   #3
Syd Thrift
Hall Of Famer
 
Syd Thrift's Avatar
 
Join Date: May 2004
Posts: 10,547
I've never been able to get the game to connect directly to my MySQL instance and load the data in directly. Instead I have it generate the scripts and then run them. They are of course very very large but MySQL seems to do OK with them. The one thing I do do with those is I run the command line prompt to concatenate all the files in the directory to one giant SQL script:

https://superuser.com/questions/1118...multiple-files

I don't think Windows will try to write the file into itself if you tell it to write all files ending in *.sql into my-db.sql but just to be on the safe side I have it write to like my-db.txt and then manually change the extension. Again, the file is pretty huge, like 50 megs or more, but MySQL consumes it just fine (it'll take forever to load if you try to open it in that or any other text editor though).
__________________
Quote:
Originally Posted by Markus Heinsohn
You bastard....
The Great American Baseball Thrift Book - Like reading the Sporting News from back in the day, only with fake players. REAL LIFE DRAMA THOUGH maybe not

Last edited by Syd Thrift; 08-23-2023 at 04:46 PM.
Syd Thrift is offline   Reply With Quote
Old 08-24-2023, 11:34 PM   #4
mjkuhlen
Minors (Rookie Ball)
 
Join Date: Jul 2017
Posts: 21
Thanks for the tip Syd. I am communicating with one of the team members via discord, they are speaking with the devs for me. Lets get this resolved! lol. One issue we've noticed is that window isn't correctly sized, so it's not showing the username/password field properly (without scrolling). But, even after adding that, I get an error that it can't connect to my db. I've double checked all of my settings and that connection works via other apps (mysql workbench) so I know I'm fairly confident it's not that.
mjkuhlen is offline   Reply With Quote
Reply

Bookmarks

Tags
database, export, mysql


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:01 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments