Error : Executing SQL File al_server_gs

Results 1 to 3 of 3
  1. #1
    Account Upgraded | Title Enabled! KidJB is offline
    MemberRank
    Oct 2009 Join Date
    Topeka, KansasLocation
    291Posts

    Error : Executing SQL File al_server_gs

    Code:
    [Err] 1005 - Can't create table 'al_server_gs.server_variables' (errno: 150)
    [Err] -- ----------------------------
    -- Table structure for `server_variables`
    -- ----------------------------
    
    CREATE TABLE IF NOT EXISTS `server_variables` (
      `key` varchar(30) NOT NULL,
      `value` varchar(30) NOT NULL,
      PRIMARY KEY (`key`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    -- ----------------------------
    -- Table structure `for players`
    -- ----------------------------
    
    CREATE TABLE IF NOT EXISTS `players` (
      `id` int(11) NOT NULL,
      `name` varchar(50) NOT NULL,
      `account_id` int(11) NOT NULL,
      `account_name` varchar(50) NOT NULL,
      `exp` bigint(20) NOT NULL default '0',
      `recoverexp` bigint(20) NOT NULL default '0',
      `x` float NOT NULL,
      `y` float NOT NULL,
      `z` float NOT NULL,
      `heading` int(11) NOT NULL,
      `world_id` int(11) NOT NULL,
      `world_owner` int(11) NOT NULL default '0',
      `gender` enum('MALE','FEMALE') NOT NULL,
      `race` enum('ASMODIANS','ELYOS') NOT NULL,
      `player_class` enum('WARRIOR','GLADIATOR','TEMPLAR','SCOUT','ASSASSIN','RANGER','MAGE','SORCERER','SPIRIT_MASTER','PRIEST','CLERIC','CHANTER') NOT NULL,
      `creation_date` timestamp NULL default NULL,
      `deletion_date` timestamp NULL default NULL,
      `last_online` timestamp NULL default NULL on update CURRENT_TIMESTAMP,
      `quest_expands` tinyint(1) NOT NULL default '0',
      `npc_expands` tinyint(1) NOT NULL default '0',
      `advenced_stigma_slot_size` TINYINT(1) NOT NULL DEFAULT '0',
      `warehouse_size` tinyint(1) NOT NULL default '0',
      `mailbox_letters` tinyint(4) UNSIGNED NOT NULL default '0',
      `title_id` int(3) NOT NULL default '-1',
      `dp` int(3) NOT NULL DEFAULT '0',
      `soul_sickness` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
      `reposte_energy` bigint(20) NOT NULL default '0',
      `online` tinyint(1) NOT NULL default '0',
      `note` text,
      `mentor_flag_time` INT(11) NOT NULL DEFAULT '0',
      `last_transfer_time` decimal(20) NOT NULL default '0',
      PRIMARY KEY (`id`),
      UNIQUE KEY `name_unique` (`name`),
      INDEX (`account_id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    -- ----------------------------
    -- Table structure for `player_appearance`
    -- ----------------------------
    
    CREATE TABLE IF NOT EXISTS `player_appearance` (
      `player_id` int(11) NOT NULL,
      `face` int(11) NOT NULL,
      `hair` int(11) NOT NULL,
      `deco` int(11) NOT NULL,
      `tattoo` int(11) NOT NULL,
      `face_contour` INT(11) NOT NULL,
      `expression` INT(11) NOT NULL,
      `jaw_line` INT(11) NOT NULL,
      `skin_rgb` int(11) NOT NULL,
      `hair_rgb` int(11) NOT NULL,
      `lip_rgb` int(11) NOT NULL,
      `eye_rgb` int(11) NOT NULL,
      `face_shape` int(11) NOT NULL,
      `forehead` int(11) NOT NULL,
      `eye_height` int(11) NOT NULL,
      `eye_space` int(11) NOT NULL,
      `eye_width` int(11) NOT NULL,
      `eye_size` int(11) NOT NULL,
      `eye_shape` int(11) NOT NULL,
      `eye_angle` int(11) NOT NULL,
      `brow_height` int(11) NOT NULL,
      `brow_angle` int(11) NOT NULL,
      `brow_shape` int(11) NOT NULL,
      `nose` int(11) NOT NULL,
      `nose_bridge` int(11) NOT NULL,
      `nose_width` int(11) NOT NULL,
      `nose_tip` int(11) NOT NULL,
      `cheek` int(11) NOT NULL,
      `lip_height` int(11) NOT NULL,
      `mouth_size` int(11) NOT NULL,
      `lip_size` int(11) NOT NULL,
      `smile` int(11) NOT NULL,
      `lip_shape` int(11) NOT NULL,
      `jaw_height` int(11) NOT NULL,
      `chin_jut` int(11) NOT NULL,
      `ear_shape` int(11) NOT NULL,
      `head_size` int(11) NOT NULL,
      `neck` int(11) NOT NULL,
      `neck_length` int(11) NOT NULL,
      `shoulders` int(11) NOT NULL,
      `shoulder_size` int(11) NOT NULL,
      `torso` int(11) NOT NULL,
      `chest` int(11) NOT NULL,
      `waist` int(11) NOT NULL,
      `hips` int(11) NOT NULL,
      `arm_thickness` int(11) NOT NULL,
      `arm_length` int(11) NOT NULL,
      `hand_size` int(11) NOT NULL,
      `leg_thickness` int(11) NOT NULL,
      `leg_length` int(11) NOT NULL,
      `foot_size` int(11) NOT NULL,
      `facial_rate` int(11) NOT NULL,
      `voice` int(11) NOT NULL,
      `height` float NOT NULL,
      PRIMARY KEY (`player_id`),
      CONSTRAINT `player_id_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
    ) ENGINE=InnoDB
    [Msg] Finished - Unsuccessfully
    --------------------------------------------------
    Cant get GS SQL File to go through unfortunately.

    I got Login Server one to work but cant get this one to go.

    -Edit-
    Tryed re dling sql file and still doesnt work.


  2. #2
    ShadowEvil Shadowevil is offline
    MemberRank
    Apr 2007 Join Date
    236Posts

    Re: Error : Executing SQL File al_server_gs

    I copied what you posted in code, and it injected just fine to MySQL with Navicat.

    Unless you're using MSSQL

  3. #3
    Account Upgraded | Title Enabled! KidJB is offline
    MemberRank
    Oct 2009 Join Date
    Topeka, KansasLocation
    291Posts

    Re: Error : Executing SQL File al_server_gs

    Quote Originally Posted by sudnrage247 View Post
    I copied what you posted in code, and it injected just fine to MySQL with Navicat.

    Unless you're using MSSQL
    Im using MySQL Server 5.1 with Navicat Premium, Still gathering those errors on trying to get them to import.

    -Edit-

    Fixed this by just executing Querys instead of executing the sql file.
    Last edited by KidJB; 15-08-13 at 08:56 AM.



Advertisement