documentation
download & extend
community & support
B3 hosting
May 21, 2012, 06:12:15 PM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
You are here:
Big Brother Bot Forum
Add-Ons
Echelon
Execute sql file
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Execute sql file (Read 1083 times)
setman
Sr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
COD 4 , COD 6
Posts: 154
Offline
Execute sql file
«
on:
November 18, 2011, 04:11:26 PM »
How do you execute this file? I am running this on server 2008
3. Execute the echelon.sql script inside the directory 'sql' on
the echelon database. This will create two tables and a few
records.
Logged
Courgette
Senior Dev.
OS: Linux
Type: Home user
Posts: 3483
Offline
Support Specialty:
B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
Re: Execute sql file
«
Reply #1 on:
November 18, 2011, 04:15:08 PM »
you need a SQL administration tool such as PhpMyAdmin or
MySQL Workbench
Logged
Follow me :
@cucurb
.~. new
Smokin' guns official website
setman
Sr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
COD 4 , COD 6
Posts: 154
Offline
Re: Execute sql file
«
Reply #2 on:
November 18, 2011, 04:26:56 PM »
I have xampp installed which runs my b3, it has phpadmin
Logged
Courgette
Senior Dev.
OS: Linux
Type: Home user
Posts: 3483
Offline
Support Specialty:
B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
Re: Execute sql file
«
Reply #3 on:
November 18, 2011, 04:44:13 PM »
there are plenty of video tutorials on how to run sql script with phpmyadmin. Please refer to them
http://www.google.com/search?q=run+sql+script+with+phpmyadmin
Logged
Follow me :
@cucurb
.~. new
Smokin' guns official website
setman
Sr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
COD 4 , COD 6
Posts: 154
Offline
Re: Execute sql file
«
Reply #4 on:
November 19, 2011, 09:49:54 AM »
Thanks, ever heard of this when executing a file? Already posted on mysql fourms, still waiting for them to answer
Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM AUTO_INCREMENT=4' at line 26
It is saying something about the echelon.sql file
Logged
setman
Sr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
COD 4 , COD 6
Posts: 154
Offline
Re: Execute sql file
«
Reply #5 on:
November 19, 2011, 11:07:39 AM »
Quote from: setman on November 19, 2011, 09:49:54 AM
Thanks, ever heard of this when executing a file? Already posted on mysql fourms, still waiting for them to answer
Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM AUTO_INCREMENT=4' at line 26
It is saying something about the echelon.sql file
Got it working. I guess in the echelon sql file it is showing TYPE when it should say ENGINE
Logged
Courgette
Senior Dev.
OS: Linux
Type: Home user
Posts: 3483
Offline
Support Specialty:
B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
Re: Execute sql file
«
Reply #6 on:
November 19, 2011, 04:03:56 PM »
glad you got it working. This issue is a regression in MySQL v5.1.0 that is fixed in MySQL 5.1.7 if I'm not mistaken
Logged
Follow me :
@cucurb
.~. new
Smokin' guns official website
Strawhidy
Jr. Member
OS: Windows
Type: Renting Server, no B3
Gameservers:
COD4
Posts: 24
Offline
Re: Execute sql file
«
Reply #7 on:
December 19, 2011, 04:47:43 PM »
So how did you fix the problem?
Logged
setman
Sr. Member
OS: Windows
Type: Owner dedicated server(s)
Gameservers:
COD 4 , COD 6
Posts: 154
Offline
Re: Execute sql file
«
Reply #8 on:
December 19, 2011, 05:14:33 PM »
Just imported the echelon.sql into the echelon database , and it works fine.
To simple, i just didn't think of it. Same way all the b3 files get imported.
Logged
Strawhidy
Jr. Member
OS: Windows
Type: Renting Server, no B3
Gameservers:
COD4
Posts: 24
Offline
Re: Execute sql file
«
Reply #9 on:
December 22, 2011, 12:26:54 PM »
I've been trying to import the echelon.sql in the same manner and I'm getting the following error:
SQL query:
# --------------------------------------------------------
#
# Table structure for table `users`
#
CREATETABLE`users` (
`id` int( 11)NOTNULLAUTO_INCREMENT ,
`username` varchar( 25)NOTNULL default'',
`password` varchar( 32)NOTNULL default'',
`ech_level` int( 11)NOTNULL default'0',
`b3cod` int( 11)default NULL ,
`b3uo` int( 11)default NULL ,
PRIMARYKEY (`id`)
) TYPE=MYISAMAUTO_INCREMENT=2;
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM AUTO_INCREMENT=2' at line 15
Logged
MordyT
Support Hero
OS: Windows
Type: Gameserver Rental Co.
Gameservers:
2x CoD4, 1x BF3
Posts: 2625
Offline
Owner of Host4B3.com - Over 70 bots hosted!
Re: Execute sql file
«
Reply #10 on:
December 22, 2011, 01:01:13 PM »
Edit the echelon.sql
find and replace TYPE with ENGINE.
Same and re-import.
Logged
Need B3 Bot hosting? Check out
Host4B3.com
Check
Twitter.com/Host4B3
for updates if the site it down.
Help will be given to those with a b3.log
System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Strawhidy
Jr. Member
OS: Windows
Type: Renting Server, no B3
Gameservers:
COD4
Posts: 24
Offline
Re: Execute sql file
«
Reply #11 on:
December 22, 2011, 05:11:11 PM »
Thanks Mordy! That did the trick.
Logged
Tags:
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal