wordpress数据表说明
wp_commentmeta: 用于保存评论的元信息,在将评论放入回收站等操作时会将数据放入此表,Akismet等插件也会生成此表的数据。此表不太重要
wp_comments: 用于保存评论信息的表
wp_links: 用于保存用户输入到Wordpress中的链接(通过Link Manager)的表
wp_options: 用于保存Wordpress相关设置、参数的表,里面包括了大量的重要信息
wp_postmeta: 用于保存文章的元信息(meta)的表
wp_posts: 用于保存你所有的文章相关信息的表,非常的重要。一般它存储的数据是最多的
wp_terms: 文章和链接分类以及文章的tag分类可以在表里找到
wp_term_relationships: 日志与wp_terms中的类别与标签联合起来共同存储在wp_terms_relationships表中。类别相关链接也存储在wp_terms_relationships中
wp_term_taxonomy: 该表格对wp_terms表中的条目分类(类别、链接以及标签)进行说明
wp_usermeta : 用于保存用户元信息(meta)的表
wp_users:用于保存Wordpress使用者的相关信息的表
wp_commentmeta
| 键 | 值 |
|---|---|
| meta_id | 自增唯一ID |
| comment_id | 对应评论ID |
| meta_key | 键名 |
| meta_value | 键值 |
wp_comments
| 键 | 值 |
|---|---|
| comment_ID | 自增唯一ID |
| comment_post_ID | 对应文章ID |
| comment_author | 评论者 |
| comment_author_email | 评论者邮箱 |
| comment_author_url | 评论者网址 |
| comment_author_IP | 评论者IP |
| comment_date | 评论时间 |
| comment_date_gmt | 评论时间(GMT+0时间) |
| comment_content | 评论正文 |
| comment_karma | 未知 |
| comment_approved | 评论是否被批准 |
| comment_agent | 评论者的USER AGENT |
| comment_type | 评论类型(pingback/普通) |
| comment_parent | 父评论ID |
| user_id | 评论者用户ID(不一定存在) |
wp_links
| 键 | 值 |
|---|---|
| link_id | 自增唯一ID |
| link_url | 链接URL |
| link_name | 链接标题 |
| link_image | 链接图片 |
| link_target | 链接打开方式 |
| link_description | 链接描述 |
| link_visible | 是否可见(Y/N) |
| link_owner | 添加者用户ID |
| link_rating | 评分等级 |
| link_updated | 未知 |
| link_rel | XFN关系 |
| link_notes | XFN注释 |
| link_rss | 链接RSS地址 |
wp_options
| 键 | 值 |
|---|---|
| option_id | 自增唯一ID |
| blog_id | 博客ID,用于多用户博客,默认0 |
| option_name | 键名 |
| option_value | 键值 |
| autoload | 在WordPress载入时自动载入(yes/no) |
wp_postmeta
| 键 | 值 |
|---|---|
| meta_id | 自增唯一ID |
| post_id | 对应文章ID |
| meta_key | 键名 |
| meta_value | 键值 |
wp_posts
| 键 | 值 |
|---|---|
| ID | 自增唯一ID |
| post_author | 对应作者ID |
| post_date | 发布时间 |
| post_date_gmt | 发布时间(GMT+0时间) |
| post_content | 正文 |
| post_title | 标题 |
| post_excerpt | 摘录 |
| post_status | 文章状态(publish/auto-draft/inherit等) |
| comment_status | 评论状态(open/closed) |
| ping_status | PING状态(open/closed) |
| post_password | 文章密码 |
| post_name | 文章缩略名 |
| to_ping | 未知 |
| pinged | 已经PING过的链接 |
| post_modified | 修改时间 |
| post_modified_gmt | 修改时间(GMT+0时间) |
| post_content_filtered | 未知 |
| post_parent | 父文章,主要用于PAGE |
| guid | 未知 |
| menu_order | 排序ID |
| post_type | 文章类型(post/page等) |
| post_mime_type | MIME类型 |
| comment_count | 评论总数 |
wp_terms
| 键 | 值 |
|---|---|
| term_id | 分类ID |
| name | 分类名 |
| slug | 缩略名 |
| term_group | 未知 |
wp_term_relationships
| 键 | 值 |
|---|---|
| object_id | 对应文章ID/链接ID |
| term_taxonomy_id | 对应分类方法ID |
| term_order | 排序 |
wp_term_taxonomy
| 键 | 值 |
|---|---|
| term_taxonomy_id | 分类方法ID |
| term_id | taxonomy |
| description | 未知 |
| parent | 所属父分类方法ID |
| count | 文章数统计 |
wp_usermeta
| 键 | 值 |
|---|---|
| umeta_id | 自增唯一ID |
| user_id | 对应用户ID |
| meta_key | 键名 |
| meta_value | 键值 |
wp_users
| 键 | 值 |
|---|---|
| ID | 自增唯一ID |
| user_login | 登录名 |
| user_pass | 密码 |
| user_nicename | 昵称 |
| user_email | |
| user_url | 网址 |
| user_registered | 注册时间 |
| user_activation_key | 激活码 |
| user_status | 用户状态 |
| display_name | 显示名称 |
浙公网安备 33010602011771号