Execution with SQLyog menu

User Tag List

Results 1 to 5 of 5
  1. #1
    TarridoN's Avatar Sergeant
    Reputation
    1
    Join Date
    Oct 2010
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Execution with SQLyog

    Ok my 'accounts' table is crashed and i got an executing query for the whole logon database its:
    Code:
    Database - arclogon
    **********************Database - arclogon
    *********************************************************************
    */
    
    /*!40101 SET NAMES utf8 */;
    
    /*!40101 SET SQL_MODE=''*/;
    
    /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
    
    /*Table structure for table `accounts` */
    
    DROP TABLE IF EXISTS `accounts`;
    
    CREATE TABLE `accounts` (
      `acct` int(10) unsigned NOT NULL auto_increment COMMENT 'Unique ID',
      `login` varchar(32) collate utf8_unicode_ci NOT NULL COMMENT 'Login username',
      `password` varchar(32) collate utf8_unicode_ci NOT NULL COMMENT 'Login password',
      `encrypted_password` varchar(42) collate utf8_unicode_ci NOT NULL default '',
      `gm` varchar(32) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Game permissions',
      `banned` int(10) unsigned NOT NULL,
      `lastlogin` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Last login timestamp',
      `lastip` varchar(16) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Last remote address',
      `email` varchar(64) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Contact e-mail address',
      `flags` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Client flags',
      `forceLanguage` varchar(5) collate utf8_unicode_ci NOT NULL default 'enUS',
      `muted` int(30) NOT NULL default '0',
      `banreason` varchar(255) collate utf8_unicode_ci default NULL,
      PRIMARY KEY  (`acct`),
      UNIQUE KEY `a` (`login`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Account Information';
    
    /*Data for the table `accounts` */
    
    LOCK TABLES `accounts` WRITE;
    
    UNLOCK TABLES;
    
    /*Table structure for table `ipbans` */
    
    DROP TABLE IF EXISTS `ipbans`;
    
    CREATE TABLE `ipbans` (
      `ip` varchar(20) collate utf8_unicode_ci NOT NULL,
      `expire` int(10) NOT NULL COMMENT 'Expiry time (s)',
      `banreason` varchar(255) collate utf8_unicode_ci default NULL,
      PRIMARY KEY  (`ip`),
      UNIQUE KEY `a` (`ip`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='IPBanner';
    
    /*Data for the table `ipbans` */
    
    LOCK TABLES `ipbans` WRITE;
    
    UNLOCK TABLES;
    
    /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;Database - arclogon
    *********************************************************************
    */
    
    /*!40101 SET NAMES utf8 */;
    
    /*!40101 SET SQL_MODE=''*/;
    
    /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
    
    /*Table structure for table `accounts` */
    
    DROP TABLE IF EXISTS `accounts`;
    
    CREATE TABLE `accounts` (
      `acct` int(10) unsigned NOT NULL auto_increment COMMENT 'Unique ID',
      `login` varchar(32) collate utf8_unicode_ci NOT NULL COMMENT 'Login username',
      `password` varchar(32) collate utf8_unicode_ci NOT NULL COMMENT 'Login password',
      `encrypted_password` varchar(42) collate utf8_unicode_ci NOT NULL default '',
      `gm` varchar(32) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Game permissions',
      `banned` int(10) unsigned NOT NULL,
      `lastlogin` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Last login timestamp',
      `lastip` varchar(16) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Last remote address',
      `email` varchar(64) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Contact e-mail address',
      `flags` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Client flags',
      `forceLanguage` varchar(5) collate utf8_unicode_ci NOT NULL default 'enUS',
      `muted` int(30) NOT NULL default '0',
      `banreason` varchar(255) collate utf8_unicode_ci default NULL,
      PRIMARY KEY  (`acct`),
      UNIQUE KEY `a` (`login`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Account Information';
    
    /*Data for the table `accounts` */
    
    LOCK TABLES `accounts` WRITE;
    
    UNLOCK TABLES;
    
    /*Table structure for table `ipbans` */
    
    DROP TABLE IF EXISTS `ipbans`;
    
    CREATE TABLE `ipbans` (
      `ip` varchar(20) collate utf8_unicode_ci NOT NULL,
      `expire` int(10) NOT NULL COMMENT 'Expiry time (s)',
      `banreason` varchar(255) collate utf8_unicode_ci default NULL,
      PRIMARY KEY  (`ip`),
      UNIQUE KEY `a` (`ip`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='IPBanner';
    
    /*Data for the table `ipbans` */
    
    LOCK TABLES `ipbans` WRITE;
    
    UNLOCK TABLES;
    
    /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
    Thats it. I executed it and it said as i executed it "No query(s) were executed. Please enter a query in the SQL window or place the cursor in the query.
    So do i put:
    Code:
    DROP TABLE IF EXISTS `accounts`;
    
    CREATE TABLE `accounts` (
      `acct` int(10) unsigned NOT NULL auto_increment COMMENT 'Unique ID',
      `login` varchar(32) collate utf8_unicode_ci NOT NULL COMMENT 'Login username',
      `password` varchar(32) collate utf8_unicode_ci NOT NULL COMMENT 'Login password',
      `encrypted_password` varchar(42) collate utf8_unicode_ci NOT NULL default '',
      `gm` varchar(32) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Game permissions',
      `banned` int(10) unsigned NOT NULL,
      `lastlogin` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Last login timestamp',
      `lastip` varchar(16) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Last remote address',
      `email` varchar(64) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Contact e-mail address',
      `flags` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Client flags',
      `forceLanguage` varchar(5) collate utf8_unicode_ci NOT NULL default 'enUS',
      `muted` int(30) NOT NULL default '0',
      `banreason` varchar(255) collate utf8_unicode_ci default NULL,
      PRIMARY KEY  (`acct`),
      UNIQUE KEY `a` (`login`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Account Information';
    
    /*Data for the table `accounts` */
    
    LOCK TABLES `accounts` WRITE;
    That in the SQL window?
    Last edited by stoneharry; 10-24-2010 at 05:23 AM.

    Execution with SQLyog
  2. #2
    gillisrofl's Avatar Sergeant
    Reputation
    22
    Join Date
    Oct 2009
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You executed the wrong way mate ^.^, you can just use the "Restore from SQL dump" on the desired database as I said before. However, the way your talking about now is ofc also possible. Just enter that code into the window, mark all the text, and execute current query.

    (btw I am online in msn today from now to 5-7 hours forward)

  3. #3
    predattak's Avatar Active Member
    Reputation
    27
    Join Date
    Jul 2008
    Posts
    537
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SQLyog .. use NAVICAT
    Homosexuals are gay

  4. #4
    gillisrofl's Avatar Sergeant
    Reputation
    22
    Join Date
    Oct 2009
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by predattak View Post
    SQLyog .. use NAVICAT
    Don't feed the troll :<

  5. #5
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by predattak View Post
    SQLyog .. use NAVICAT
    Navicat is terrible compared to SQLyog imo, the only thing Navicat has over SQLyog is a more user-friendly GUI.

    At least justify yourself if your going to randomly state something.

Similar Threads

  1. [Help] Problem with SQLyog...
    By Ellenor in forum WoW EMU Questions & Requests
    Replies: 10
    Last Post: 09-19-2008, 04:55 AM
  2. [help] How do u execute with SQLyog
    By Anthonyrox8 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 08-30-2008, 02:23 AM
  3. Help with executing custom item batch file to heidi sql?
    By Drelanarus in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 04-27-2008, 11:47 AM
  4. How to Execute SQL Files To Your DB With Pictures
    By C.C. in forum WoW EMU Guides & Tutorials
    Replies: 5
    Last Post: 11-24-2007, 07:21 PM
  5. Help needed - how to insert .sql files with SQLyog
    By ADAMZY in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 11-23-2007, 05:32 PM
All times are GMT -5. The time now is 07:48 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search