Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting
You last visited: Today at 14:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



help how to run mysql script

Discussion on help how to run mysql script within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1

 
DuaSelipar's Avatar
 
elite*gold: 480
Join Date: Nov 2009
Posts: 276
Received Thanks: 448
help how to run mysql script

can somebody help me how to run a mysql script
Quote:
delete from cq_action where id >= 3021320 and id <= 3021327;
delete from cq_action where id >= 9667630 and id <= 9667631;
delete from cq_itemtype where id >= 810013 and id <= 810013;
INSERT INTO `cq_itemtype` VALUES ('810013', '5xExpPotion', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1588000000', '9667630', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '01', '800', '00', '0000', '0000', '0', '0', '1588', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `cq_action` VALUES ('3021320', '3021321', '0000', '4001', '0', '43 500 3600 0');
INSERT INTO `cq_action` VALUES ('3021321', '3021322', '0000', '0502', '810013', '0');
INSERT INTO `cq_action` VALUES ('3021322', '3021323', '3021325', '1102', '0', 'count < 1');
INSERT INTO `cq_action` VALUES ('3021323', '3021324', '0000', '1010', '2000', '%user_name~has~used~5x~Exp~Potion~for~the~team!') ;
INSERT INTO `cq_action` VALUES ('3021324', '0000', '0000', '0126', '0', '%user_name~has~used~5x~Exp~Potion~and~obtained~1~ hour~of~5x~Exp!');
INSERT INTO `cq_action` VALUES ('3021325', '3021326', '0000', '1010', '2003', '%user_name~has~used~5x~Exp~Potion~and~obtained~1~ hour~of~5x~Exp!');
INSERT INTO `cq_action` VALUES ('3021326', '3021327', '0000', '1010', '2000', '%user_name~has~used~5x~Exp~Potion~and~obtained~1~ hour~of~5x~Exp!');
INSERT INTO `cq_action` VALUES ('3021327', '0000', '0000', '0126', '0', '%user_name~has~used~5x~Exp~Potion~and~obtained~1~ hour~of~5x~Exp!');
INSERT INTO `cq_action` VALUES ('9667630', '9667631', '3021320', '1009', '0', '158 second > 0');
INSERT INTO `cq_action` VALUES ('9667631', '0000', '0000', '0126', '0', '¸óÏÂÕýÔÚ»ñµÃ¾*Ñé¼Ó³É£¬ÎÞ·¨ÔÙʹÓÃË«±¶¾*ÑéÒ©Ë®ÁË¡£' );
i open cq_action and open query table put that file like below..after i run nothing happen..what i gonna do next?....... i still learing about db
DuaSelipar is offline  
Old 11/22/2010, 01:11   #2
 
elite*gold: 0
Join Date: Aug 2008
Posts: 502
Received Thanks: 145
open the query tab and copy the script into it, hit run and then wait for it to tell you if there is errors
if errors, find them and change the script
run again, when no errors you are done.
karnyge is offline  
Thanks
1 User
Old 11/22/2010, 02:42   #3
 
.Ash's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,175
Received Thanks: 540
Steps:
1)Open Navicat
2)Open connection where your my database is
3)Open "my" Database
4)Press "Query"
5)New Query
6)Copy and paste the code.
7)IF you have a file, Do Steps 1 to 3
8)Right click on my database
9)Execute SQL File..


Hope this helps..
.Ash is offline  
Thanks
1 User
Old 11/22/2010, 09:11   #4

 
DuaSelipar's Avatar
 
elite*gold: 480
Join Date: Nov 2009
Posts: 276
Received Thanks: 448
after i run it say: Affected rows: 1 Time: 0.000ms and i close it before close it it say save.. im gonna save it or no?..that script mean work when it say affected rows: 1 ?
DuaSelipar is offline  
Old 11/22/2010, 10:38   #5
 
PraDevil[ELITE]'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,486
Received Thanks: 919
if it says affected rows thats mean your are done running it without no problem
PraDevil[ELITE] is offline  
Thanks
1 User
Old 11/22/2010, 11:43   #6

 
DuaSelipar's Avatar
 
elite*gold: 480
Join Date: Nov 2009
Posts: 276
Received Thanks: 448
ermm..sory but asking..how to maint a server?
DuaSelipar is offline  
Old 11/22/2010, 13:02   #7
 
.Ash's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,175
Received Thanks: 540
Quote:
Originally Posted by dariuslies View Post
ermm..sory but asking..how to maint a server?
How to make a maintenance in the server? well.. close all the things you running is an easy way to put it.

Was that the question or something else?....
.Ash is offline  
Thanks
1 User
Old 11/24/2010, 06:21   #8

 
DuaSelipar's Avatar
 
elite*gold: 480
Join Date: Nov 2009
Posts: 276
Received Thanks: 448
should i maint after run script?
DuaSelipar is offline  
Old 11/24/2010, 12:58   #9
 
.Ash's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,175
Received Thanks: 540
Alright, If you run queries in cq_action, you don't have to do maints. If you do queries on something else, you have to. If you do cq_action queries, in game do this code

/reloadaction Action#

Replace Action# with the IDs you just ran. Or, do

/reloadaction 0


It will Refresh the whole cq_action, Caution.. It will make you lag for a second or two.

Ex:
Code:
/reloadaction 3021320
/reloadaction 3021321
/reloadaction 3021322
/reloadaction 3021323
/reloadaction 3021324
/reloadaction 3021325
/reloadaction 3021326
/reloadaction 3021324
/reloadaction 9667630
/reloadaction 9667631
These are for your script
.Ash is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
need mysql script .
11/02/2010 - Dekaron Private Server - 4 Replies
well , i am using the vote script on epvp . but some times i get problem on that vote script . that it pass the 12 hours but i cant vote . so can some one give me a script , that every 12 hours removes the " log + users " table ? on my php admin .
[MySQL] littel Backup-Script
10/22/2010 - Metin2 PServer Guides & Strategies - 8 Replies
Hallo liebe Community, Mir war ein bischen langweilig und da musste ich was Produktives machen. Ich habe einen kleinen Shell-Script geschrieben, der euch ein Backup von euer MySQL datenbank macht. Es ist ganz einfach zu bediehnen. Ein README habe ich mit bei den Files gepackt. Okay, dann will ich euch mal erklären, wie ihr ihn zum laufen bekommt.
[Release] SH Script zum Installieren von MySQL 5.0
10/21/2010 - Metin2 PServer Guides & Strategies - 11 Replies
Ich komme am besten gleich zur Sache xD & so einfach geht das. Ach ja, bei sleep 60*VALUE "VALUE" oder "15" oder "7" müsst ihr anpassen.
MySQL error for voting script & register page
04/27/2010 - Dekaron Private Server - 2 Replies
well this just happen it was working fine then it just went bad then the register page messed up to idk why it did this it was working fine for days then it just does this
[OFFER]Mysql Script Pays
11/01/2009 - CO2 Private Server - 22 Replies
Ok im needing a mysql script that will add cps into All accounts + there other cps if someone can make this script for me i will pay them for it.



All times are GMT +1. The time now is 14:58.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.