Raised This Month: $32 Target: $400
 8% 

[CSGO] Problems with database


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ASKER_CZ
BANNED
Join Date: Nov 2016
Old 03-20-2017 , 14:08   [CSGO] Problems with database
Reply With Quote #1

I made my servers on SQLITE because i never thought it will be so popular. Now i have like 500k lines in database on each server, and have problems with that. Wanna migrate to MySQL. Can Somebody help me how to do it with 100% succes ? I can pay via PayPal. if you can help me, contact me here http://steamcommunity.com/id/smileisdabest

(im pretty sure this is wrong section, if yes then please move it. thanks)

Last edited by ASKER_CZ; 04-06-2017 at 06:57.
ASKER_CZ is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 03-24-2017 , 07:35   Re: [CSGO] Problems with database
Reply With Quote #2

Add me, we can discuss this.
__________________
B3none is offline
ASKER_CZ
BANNED
Join Date: Nov 2016
Old 04-05-2017 , 15:31   Re: [CSGO] Problems with database
Reply With Quote #3

Refresh, still need it. I use ckSurf and anytime i try import .sql via phpmyadmin it says something like "WRONG SYNTAX" ...
ASKER_CZ is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 04-05-2017 , 16:24   Re: [CSGO] Problems with database
Reply With Quote #4

Quote:
Originally Posted by ASKER_CZ View Post
Refresh, still need it. I use ckSurf and anytime i try import .sql via phpmyadmin it says something like "WRONG SYNTAX" ...
Can you post the script here and also your database engine ?
__________________
Want to check my plugins ?
Arkarr is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 04-05-2017 , 17:02   Re: [CSGO] Problems with database
Reply With Quote #5

I'm looking foward this too, i've started using Store with SQLITE since i have small community with really few people, but, after some time i've found out that there's lots of lines there and the performance of my server started to decrease a little, also, some of the items started to get "stuck" on players, someone told me that it may be because i'm using Sqlite for a big plugin like Store.

I'm also looking foward someone to help me with this issue, and i also wonder if its actually possible to convert 100% a sqlite table to mysql without loosing something?
Lannister is offline
ASKER_CZ
BANNED
Join Date: Nov 2016
Old 04-06-2017 , 06:50   Re: [CSGO] Problems with database
Reply With Quote #6

Quote:
Originally Posted by Arkarr View Post
Can you post the script here and also your database engine ?



and after .sql import i get this error :


Can anybody help me? Should i use different version of MySQL or what?
ASKER_CZ is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 04-06-2017 , 07:05   Re: [CSGO] Problems with database
Reply With Quote #7

Problem is here because player name have a '\' char, wich is the escape character. (First line)
There is one simple solution wich consist of replacing each '\' char by a double '\' char.
So, instend of having :
'/\DmSTT/\'
You will need :
'/\\DmSTT/\\'
That's it. It's fixed.

EDIT:
In case you didn't know, there is a function for that in notepad++ :
__________________
Want to check my plugins ?

Last edited by Arkarr; 04-06-2017 at 07:13.
Arkarr is offline
ASKER_CZ
BANNED
Join Date: Nov 2016
Old 04-06-2017 , 07:18   Re: [CSGO] Problems with database
Reply With Quote #8

Thank you it worked.
BTW: Where is problem here?

And if you are interested to make it 100% work for 20€ then contact me in PM

Last edited by ASKER_CZ; 04-06-2017 at 07:20.
ASKER_CZ is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 04-06-2017 , 07:36   Re: [CSGO] Problems with database
Reply With Quote #9

It's the above line wich create problems.
__________________
Want to check my plugins ?
Arkarr is offline
ASKER_CZ
BANNED
Join Date: Nov 2016
Old 04-06-2017 , 07:39   Re: [CSGO] Problems with database
Reply With Quote #10

It's not. It looks like this. I've just cutted it.

ASKER_CZ is offline
Reply


Thread Tools
Display Modes

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:55.


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