mysql获取列描述(没有infomation_schema的权限)

jeremychin 2010-03-23 04:17:52
如题 请帮忙
...全文
171 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
jeremychin 2010-03-23
  • 打赏
  • 举报
回复
OK 就是show full columns
我用的是虚拟主机的数据库 所以没有infomation_schema 的权限
ACMAIN_CHM 2010-03-23
  • 打赏
  • 举报
回复
所有账号都会有 infomation_schema 的权限。除非你的MYSQL版本比较低,根本没有infomation_schema。

这样的话,你可以用 desc tablename 或者 show full columns from tablename

56,687

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧