mySQL Table 'A.bill' already exists
来源:互联网 发布:seo站长 编辑:程序博客网 时间:2024/05/16 01:36
莫名在使用mysql中遇到此提示,导致无法Create Table 提示 Table 'A.bill' already exists
无法进行删除 drop table 提示 Unknown table 'billorder'
问题的原因是由于丢失mysql的表物理文件表名.frm ,如果您还有之前定义的表结构信息,可以通过以下方式进行数据修复或找回
1. 新建database B
2. Use B;在B中执行创建表结构信息
3. 打开mysql物理目录找到B目录可以看到刚建的表信息
4. copy *.frm文件到A目录
到此databaseA中的表可以正常使用了,因为.frm文件为表结构信息,不存储数据信息,表中的信息未丢失
5. drop database B 删除不使用的B数据库
0 0
- mySQL Table 'A.bill' already exists
- Create a table unless it already exists
- Hbase Table already exists
- Hbase Table already exists:
- mysql ERROR 1050 (42S01): Table already exists
- SLT logging table already exists
- Hbase Table already exists问题
- 1050, "Table 'django_content_type' already exists"
- table already exists (code 1)
- 错误代码: 1050 Table 'emp' already exists
- django migrate error: table 'xxx' already exists
- magento -- 解决magento错误:ERROR: Base table or view already exists: 1050 Table ... already exists
- Base table or view already exists: 1050 Table 'catalog_product_entity_group_price' already exists
- Laravel Base table or view already exists: 1050 Table 'users' already exists
- 解决安装mysql的”A Windows service with the name MySQL already exists.“问题
- A Windows service with the name MySQL already exists安装数据库出错
- “A class named TcxRect already exists”错误
- 解决mysqld_safe A mysqld process already exists
- 一般性
- 230. Kth Smallest Element in a BST
- Android EditText软键盘显示隐藏以及“监听”
- mysql运维1--mysql多实例
- 获取客户端的cookie
- mySQL Table 'A.bill' already exists
- AIDL应用与应用间的通信(下)
- Activity管理工具类AppManager
- js正则表达式中关于零宽断言的奇异现象
- CountView类似计数器的实现
- [poj 2406] Power Strings KMP *nex
- 简单的计时器动画实现-ValueAnimator
- SEO优化篇——meta用法
- App在iOS9上不能分享至微信,提示微信没有安装