Raised This Month: $ Target: $400
 0% 

Sourcemod-local to Database HELP!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JacobThePigeon
Junior Member
Join Date: Jul 2015
Location: Ontario, Canada
Old 03-31-2016 , 16:47   Sourcemod-local to Database HELP!
Reply With Quote #1

Hi there, I'm Jacob and I currently run a CS:GO multi-1v1 server for the community of Allied-Gamers. Now I have a !store plugin that I hooked up to store all the information on the sourcemod-local.sq3 file located at csgo/addons/sourcemod/data/sqlite.

Now I've decided that I want to be able to access the data through a MySQL database manager application instead of not being able to edit the data without opening it through FTP but it's constantly being used so I can't even open it!

So I want to be able to download the sourcemod-local.sq3 file, and convert it, upload to a new database that I can edit through a third party application like Navicat For MySQL.

To make a TL;DR

How can I convert the sourcemod-local.sq3 and make it into a database?

Thanks in advance!
-Pigeon.
__________________
JacobThePigeon is offline
Send a message via Skype™ to JacobThePigeon
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-31-2016 , 17:22   Re: Sourcemod-local to Database HELP!
Reply With Quote #2

well... MySQL differs SQLite

Have you tried Firefox addon https://addons.mozilla.org/addon/sqlite-manager ?
__________________
Do not Private Message @me
Bacardi is offline
JacobThePigeon
Junior Member
Join Date: Jul 2015
Location: Ontario, Canada
Old 03-31-2016 , 17:38   Re: Sourcemod-local to Database HELP!
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
well... MySQL differs SQLite

Have you tried Firefox addon https://addons.mozilla.org/addon/sqlite-manager ?
No I haven't. Also, the databases aren't SQLite, they are MySQL databases. But for some reason the sourcemod-local.sq3 is in the sqlite folder.

Does the Firefox addon have the ability to convert the sourcemod-local into a database with tables?
__________________
JacobThePigeon is offline
Send a message via Skype™ to JacobThePigeon
KnoXviLLe
Senior Member
Join Date: Nov 2011
Old 04-01-2016 , 01:45   Re: Sourcemod-local to Database HELP!
Reply With Quote #4

You try SQLiteStudio.
__________________
Success is the ability to go from one failure to another with no loss of enthusiasm.

KnoXviLLe is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-01-2016 , 08:05   Re: Sourcemod-local to Database HELP!
Reply With Quote #5

sourcemod-local IS a SQLite database by default(SQLite stores it's databases as files on the HDD)
https://github.com/alliedmodders/sou...abases.cfg#L20

Last edited by WildCard65; 04-01-2016 at 08:05.
WildCard65 is offline
texaxo
New Member
Join Date: Apr 2016
Old 04-01-2016 , 08:35   Re: Sourcemod-local to Database HELP!
Reply With Quote #6

I can provide you with a .sq3 from the sqlite3 database, most of the time I am going from .sq3 to .csv and importing that, I have tried various methods/programs.
edit methods tried:
.sq3 to .sql using (go to): dbconvert.com/sqlite/mysql/
.sq3 to xml to mysql
.sq3 to json to mysql
all were doing using navicat premium.
__________________

Last edited by texaxo; 04-09-2016 at 03:41.
texaxo is offline
JacobThePigeon
Junior Member
Join Date: Jul 2015
Location: Ontario, Canada
Old 04-03-2016 , 19:14   Re: Sourcemod-local to Database HELP!
Reply With Quote #7

Quote:
Originally Posted by texaxo View Post
I can provide you with a .sq3 from the sqlite3 database, most of the time I am going from .sq3 to .csv and importing that, I have tried various methods/programs.
edit methods tried:
.sq3 to .sql using (go to): dbconvert.com/sqlite/mysql/
.sq3 to xml to mysql
.sq3 to json to mysql
all were doing using navicat premium
I get some error while trying to convert the database. Can someone add me on steam and maybe help me with this issue? I really want to convert it into an online database while keeping all my server's stats.

www.steamcommunity.com/id/jacobthepigeon
__________________
JacobThePigeon is offline
Send a message via Skype™ to JacobThePigeon
Reply



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 09:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode