Mysql database rename statement sharing _ MySQL

Source: Internet
Author: User
Mysql database rename statement sharing bitsCN.com
Create database 'CT 'default character set utf8 COLLATE utf8_general_ci;
Rename table '51cora'. 'commentmeta'
TO 'CT '. 'commentmeta ';
Rename table '51cora'. 'comments'
TO 'CT '. 'comments ';
Rename table '51cora'. 'customcontactforms _ Fields'
TO 'CT '. 'customactforms _ Fields ';
Rename table '51cora'. 'customcontactforms _ field_options'
TO 'CT '. 'customactforms _ field_options ';
Rename table '51cora'. 'customcontactforms _ form'
TO 'CT '. 'customactforms _ form ';
Rename table '51cora'. 'customcontactforms _ styles'
TO 'CT '. 'customactforms _ styles ';
Rename table '51cora'. 'customcontactforms _ user_data'
TO 'CT '. 'customactforms _ user_data ';
Rename table '51cora'. 'link'
TO 'CT '. 'link ';
Rename table '51cora'. 'options'
TO 'CT '. 'options ';
Rename table '51cora'. 'postmeta'
TO 'CT '. 'postmeta ';
Rename table '51cora'. 'posts'
TO 'CT '. 'posts ';
Rename table '51cora'. 'terms'
TO 'CT '. 'terms ';
Rename table '51cora'. 'term _ relationships'
TO 'CT '. 'term _ relationships ';
Rename table '51cora'. 'term _ taxonomy'
TO 'CT '. 'term _ taxonomy ';
Rename table '51cora'. 'usermeta'
TO 'CT '. 'usermeta ';
Rename table '51cora'. 'users'
TO 'CT '. 'users ';
Drop database '51cora ';
BitsCN.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.