在线精品99_中国九九盗摄偷拍偷看_91免费版在线观看_91.app_91高清视频在线_99热最新网站

Mysql怎么读.frm结尾的表结构定义文件

129次阅读
没有评论

共计 2050 个字符,预计需要花费 6 分钟才能阅读完成。

这篇文章给大家分享的是有关 Mysql 怎么读.frm 结尾的表结构定义文件的内容。丸趣 TV 小编觉得挺实用的,因此分享给大家做个参考,一起跟随丸趣 TV 小编过来看看吧。

用 mysqlfrm 工具读.frm 结尾的表结构定义文件
到网站下载 rpm 包
http://rpm.pbone.net/
上传到 mysql 服务器上
[root@test ~]# rpm -ivh mysql-utilities-1.6.5-1.el6.noarch.rpm 
warning: mysql-utilities-1.6.5-1.el6.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
        mysql-connector-python = 2.0.0 is needed by mysql-utilities-1.6.5-1.el6.noarch

发现有依赖关系。
再下载 mysql-connector-python
[root@test ~]# rpm -ivh mysql-connector-python-2.1.7-1.el6.x86_64.rpm 
warning: mysql-connector-python-2.1.7-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing…                ########################################### [100%]
   1:mysql-connector-python ########################################### [100%]
[root@test ~]# rpm -ivh mysql-utilities-1.6.5-1.el6.noarch.rpm 
warning: mysql-utilities-1.6.5-1.el6.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing…                ########################################### [100%]
   1:mysql-utilities        ########################################### [100%]
安装成功。

[root@test ~]# mysqlfrm /data/mysql/pou_prepub/temp_point_up.frm
Usage: mysqlfrm –server=[user[: pass]@host[: port][: socket]| login-path [: port][: socket]] [path\tbl1.frm|db:tbl.frm]

mysqlfrm: error: The –port option is required for reading .frm files in the default mode.
[root@test ~]# mysqlfrm –diagnostic /data/mysql/pou_prepub/temp_point_up.frm
# WARNING: Cannot generate character set or collation names without the –server option.
# CAUTION: The diagnostic mode is a best-effort parse of the .frm file. As such, it may not identify all of the components of the table correctly. This is especially true for damaged files. It will also not read the default values for the columns and the resulting statement may not be syntactically correct.
# Reading .frm file for /data/mysql/pou_prepub/temp_point_up.frm:
# The .frm file is a TABLE.
# CREATE TABLE Statement:

CREATE TABLE `pou_prepub`.`temp_point_up` (
  `sum(point)` decimal(41,0) DEFAULT NULL, 
  `member_id` bigint(20) NOT NULL comment 会员 ID  
) ENGINE=InnoDB;

#…done.

读出了.frm 的信息。

感谢各位的阅读!关于“Mysql 怎么读.frm 结尾的表结构定义文件”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-07-27发表,共计2050字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)
主站蜘蛛池模板: 久久九九久精品国产免费直播 | 91精品欧美成人 | 毛片a级三毛片免费播放 | 亚洲成av人在线视 | 爽爽爽爽爽爽a成人免费视频 | 97日日碰曰曰摸日日澡 | 91色久| 精产国品一二三产区m553麻豆 | 国产精品色内内在线播放 | 夫妻精品视频 | 国产美女久久久久 | 亚洲国产无套无码av电影 | 精品国产一区二区三区四区不 | 久久久久国色av免费观看性色 | 色婷婷综合久久久久中文字幕 | 亚洲精品永久免费 | 丰满人妻熟妇乱又伦精品视频三 | 国产在线一区观看 | 欧洲精品免费一区二区三区 | 偷青青国产精品青青在线观看 | 色姑娘天天操 | 天天操天天曰 | 无码免费一区二区三区免费播放 | 五月丁香六月狠狠爱综合 | 澳门特级α片免费观看视频 | 国产成人a视频高清在线观看 | 亚洲国产婷婷综合在线精品 | 国产a免费 | 国产激情小视频 | 中文国产成人精品久久水 | 亚洲精品电影久久久影院 | 亚洲精品国产福利一区二区三区 | 2020年国产精品 | 国产精品成人第一区 | 亚洲精品无码永久中文字幕 | 国产69精品久久久久9牛牛 | 免费观看黄色一级视频 | 亚洲国产午夜精品理论片在线播放 | 牲欲强的熟妇农村老妇女 | 欧美一区二区精品 | 午夜影音 |