{"id":29888,"date":"2021-01-17T18:44:49","date_gmt":"2021-01-17T10:44:49","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=29888"},"modified":"2022-09-07T18:52:57","modified_gmt":"2022-09-07T10:52:57","slug":"how-to-rename-a-table-in-phpmyadmin","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-rename-a-table-in-phpmyadmin","title":{"rendered":"HOW TO: Rename a table in phpMyAdmin"},"content":{"rendered":"\t\t
It\u2019s very easy to rename a table in phpMyAdmin. To do so, simply follow these steps:<\/p>
First, open the\u00a0phpMyAdmin<\/strong> tool, then go to the Databases<\/strong>\u00a0tab. Select a database and navigate to the\u00a0Operations<\/strong>\u00a0tab. A new page opens on which you can find all the possible operations which you can use on a database.<\/p> The first section is Create table<\/strong>. It allows you to create a new table under the current database. Enter the table name and the number of the fields. Then click on\u00a0Go<\/strong> to start the creation of the new table.\u00a0<\/p> The second section is Rename database to<\/strong>. Renaming a database cannot be performed directly through the phpMyAdmin area due to lack of privileges for the user. If you want to rename the database, you should\u00a0create a new MySQL database<\/a>,\u00a0export the database tables and import them<\/a> in the new one. Then you should delete the old database.<\/p> The same is the case with the\u00a0Copy database to<\/strong>\u00a0section. The difference with the above one is that you should not delete the source database.<\/p> The last section allows you to change the database\u00a0Collation<\/strong>. Pick the preferred one from the drop-down menu and confirm the modification by clicking on\u00a0Go<\/strong>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t To perform the corresponding operations on a database table, you should select the desired table in phpMyAdmin and click on the\u00a0Operations<\/strong>\u00a0tab.<\/p> The\u00a0Move table to<\/strong>\u00a0section allows you to move the table with a new name under the current database or to move it under a different database.<\/p> In the\u00a0Table options<\/strong>\u00a0section, you can rename the table, insert comments, change the storage engine and the collation.<\/p> Using the\u00a0Copy table to<\/strong>\u00a0section you can copy the table with a new name under the current database or it can be duplicated in another database.<\/p> Under the\u00a0Table Maintenance<\/strong>\u00a0section you will find different options which will help you to maintain your database table:<\/p> HOW TO: Rename a table in phpMyAdmin It\u2019s very easy to rename a table in phpMyAdmin. To do so, simply follow these steps: Firstly, log in to cPanel. From the\u00a0Databases\u00a0section, click on the\u00a0phpMyAdmin\u00a0icon. In the narrow left column, select the database containing the table you wish to rename. The screen will refresh with all of […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29888"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=29888"}],"version-history":[{"count":1,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29888\/revisions"}],"predecessor-version":[{"id":31700,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29888\/revisions\/31700"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=29888"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=29888"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=29888"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=29888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Database Table Operations<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t