簡體   English   中英

如何在不更改其中數據的情況下將表的模式從一個數據庫導入到另一個數據庫中的現有表?

[英]How can i import a schema of a table from one database to an existing table in another without altering the data in it?

我想從例如導入/復制表的架構 “DB1 數據庫”是“DB2 數據庫”中的另一個表,而不對其中的數據做任何事情。 當我嘗試將結構導入現有表時,會出現錯誤:

“#1050 - 表‘access_logs’已經存在”

In phpmyadmin Go to 'Opeartions' Tab and then go to 'Copy Table to' section In that select the database in which you want to copy the table and give a name to the table. 您可以根據需要選擇結構或結構與數據的選項。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM