In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)On MySQL 5.5.8+ in b3.sql: TYPE -> ENGINE
Pages: [1]   Go Down
  Print  
Author Topic: On MySQL 5.5.8+ in b3.sql: TYPE -> ENGINE  (Read 2861 times) Bookmark and Share
Jr. Member
**
Posts: 35
Offline Offline
« on: December 28, 2010, 10:08:04 AM »

I was installing B3 with the latest MySQL (5.5.Cool and the b3.sql generates an error. This may be a known issue, but I did not see an explicit mention in the forums. Oracle decided to change the keyword.

In the b3.sql file, TYPE=MyISAM needs to be changed to ENGINE=MyISAM.

Once the change is made, the script works again.

Later,
« Last Edit: January 02, 2011, 03:21:13 AM by xlr8or » Logged

Newbie
*
Posts: 4
Offline Offline
« Reply #1 on: January 18, 2011, 10:27:07 PM »

Found this after spending 2 hours trying to figure out why my manually created (because the b3.sql failed) db wasnt working.

Tongue

Thanks!
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #2 on: February 02, 2011, 05:46:58 AM »

Thanks, sql is fixed
Logged

Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD7
Posts: 67
Offline Offline
WWW
« Reply #3 on: February 02, 2011, 12:39:27 PM »

The issue also occurs with Echelon when importing the tables for it.
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #4 on: February 07, 2011, 08:37:18 AM »

Ah yes, I did some research into this a while back... in 2006 they marked type= as depreciated, and finally removed it.
So I modified three sq files.... attached. These will work right. Rename them from.txt to .sql

[attachment deleted by maintenance]
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
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod6
Posts: 10
Offline Offline
« Reply #5 on: March 31, 2011, 09:13:31 AM »

hi im new here btw everytime i import that b3.sql file it always have a error i already try the renaming ENGINE=MyISAM thingy still having an error

Error

SQL query:

-- phpMyAdmin SQL Dump
-- version 2.6.0-pl2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Apr 20, 2005 at 12:55 PM
-- Server version: 3.23.58
-- PHP Version: 4.3.2
--
-- Database: `b3`
--
-- --------------------------------------------------------
--
-- Table structure for table `aliases`
--
CREATE TABLE IF NOT EXISTS aliases(
id int( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
num_used int( 10 ) unsigned NOT NULL default '0',
alias varchar( 32 ) NOT NULL default '',
client_id int( 10 ) unsigned NOT NULL default '0',
time_add int( 10 ) unsigned NOT NULL default '0',
time_edit int( 10 ) unsigned NOT NULL default '0',
PRIMARY KEY ( id ) ,
UNIQUE KEY alias( alias, client_id ) ,
KEY client_id( client_id )
) ENGINE = MYISAM ;

MySQL said: Documentation
#1046 - No database selected

how can i fix this thanks!
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #6 on: March 31, 2011, 09:35:18 AM »

You need to create a database and then select it from the side bar before importing...
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
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal