zoukankan      html  css  js  c++  java
  • Tablespace for table '`pomelo`.`bag`' exists. Please DISCARD the tablespace before IMPORT.

    //遇到的问题是,删除数据库之后,重新创建数据库,在创建数据库表的时候,明明没有该表,却提示存在这个表。这是数据库缓存造成的
    //解决方法
    FLUSH TABLES;
    /*
    安装MySql数据库(略)
    登录MySql: mysql –u用户名 –p密码 (登录成功提示符:mysql>)
    创建数据库: mysql> create database Pomelo;
    选择数据库: mysql> use Pomelo;
    清空数据库缓存: mysql> FLUSH TABLES;//该操作是在删除数据库之后,如果重新创建数据库的时候会用到。
    导入sql文件: mysql> source ./game-server/config/schema/Pomelo.sql
    */
  • 相关阅读:
    qsort
    strcmp
    LotteryDrawing
    retire or not retire ? is a question.
    alloc && afree
    strlen
    c point
    c point ccccc
    MySQL MGR源码分析2
    MySQL MGR实现分析
  • 原文地址:https://www.cnblogs.com/ChineseMoonGod/p/5378607.html
Copyright © 2011-2022 走看看