Database Original WordPress บันทึกส่วนตัว
เมื่อติดตั้ง WordPress แล้วยังไม่ได้ลงอะไรเพิ่มมาดูข้อมูลตาราง Database ก่อนว่ามีอะไรบ้าง
- wp_commentmeta ไม่มีข้อมูลไดๆในตาราง เก็บ comment ชื่อ อีเมล์ IP ของคนที่มา comment และข้อความ
– meta_id
– comment_id
– meta_key
– meta_value - wp_comments จะมีข้อมูลมาเลย 1 แถว เก็บความสัมพันของ comment
– comment_ID
– comment_post_ID
– comment_author
– comment_author_email
– comment_author_url
– comment_author_IP
– comment_date
– comment_date_gmt
– comment_content
– comment_karma
– comment_approved
– comment_agent
– comment_type
– comment_parent
– user_id - wp_links ไม่มีข้อมูลไดๆในตาราง เก็บหัวข้อ Links
– link_id
– link_url
– link_name
– link_image
– link_target
– link_description
– link_visible
– link_owner
– link_rating
– link_updated
– link_rel
– link_notes
– link_rss - wp_options จะมีข้อมูลมาเลย 25 แถว เก็บค่าเซตติ่งต่างๆ
– option_id
– option_name
– option_value
– autoload - wp_postmeta จะมีข้อมูลมาเลย 2 แถว เก็บขอมูลเพิ่มจาก Page และ Post
– meta_id
– post_id
– meta_key
– meta_value - wp_posts จะมีข้อมูลมาเลย 4 แถว เก็บ Page และ Post
– ID
– post_author
– post_date
– post_date_gmt
– post_content
– post_title
– post_excerpt
– post_status
– comment_status
– ping_status
– post_password
– post_name
– to_ping
– pinged
– post_modified
– post_modified_gmt
– post_content_filtered
– post_parent
– guid
– menu_order
– post_type
– post_mime_type
– comment_count - wp_termmeta ไม่มีข้อมูลไดๆในตาราง
– meta_id
– term_id
– meta_key
– meta_value - wp_terms จะมีข้อมูลมาเลย 1 แถว เก็บหมวดหมู่ของ Page และ Post
– term_id
– name
– slug
– term_group - wp_term_relationships จะมีข้อมูลมาเลย 1 แถว เก็บความสัมพัน Post, Page, Categories ,Tags
– object_id
– term_taxonomy_id
– term_order - wp_term_taxonomy จะมีข้อมูลมาเลย 1 แถว เก็บรายละเอียด Post, Page, Categories ,Tags
– term_taxonomy_id
– term_id
– taxonomy
– description
-parent
-count - wp_usermeta จะมีข้อมูลมาเลย 20 แถว เก็บสิทการใช้งานของสมาชิก
– umeta_id
– user_id
– meta_key
– meta_value - wp_users จะมีข้อมูลมาเลย 1 แถว นั้นก็คือ Admin นั่นเอง
– ID
– user_login
– user_pass
– user_nicename
– user_email
– user_url
– user_registered
– user_activation_key
– user_status
– display_name