需要脚本来复制数据库及其所有表 [英] Need script to copy a database and all it's tables

查看:84
本文介绍了需要脚本来复制数据库及其所有表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我的数据库包含45个表,其结构随着我开发而变化。我需要一个能够阅读的实用工具。这个

数据库的结构和它的表格,然后用

所有表创建一个相同的数据库。


可以你帮忙吗?

解决方案

7月10日,10:12,Robbo< i ... @ fds7.comwrote:





我的数据库包含45个表,其结构正在演变为我

开发。我需要一个能够阅读的实用工具。这个

数据库的结构和它的表格,然后用

所有表创建一个相同的数据库。


可以你帮忙吗?



使用phpmyadmin的导出选项。


另见新闻组

alt.possessive .its.has.no.apostrophe

有关在它一词中正确使用撇号的信息!


< blockquote> 7月10日,10:32,Paralytic上尉< paul_laut ... @ yahoo.comwrote:


7月10日,10:12,Robbo<我... @ fds7.comwrote:


您好,


我的数据库包含45个表格的结构正在发展,因为我发展了b $ b。我需要一个能够阅读的实用工具。这个

数据库的结构和它的表,然后用

所有表创建一个相同的数据库。


你能帮帮忙吗?



使用phpmyadmin的导出选项。


另见新闻组

alt.possessive .its.has.no.apostrophe

有关正确使用单词its中撇号的信息!



这当然假设你使用的是mysql,因为你没有说b $ b表示你​​确实在使用什么数据库! br />


On 10.07.2007 11:12 Robbo写道:





我的数据库包含45个表,其结构随着我开发而发展。我需要一个能够阅读的实用工具。这个

数据库的结构和它的表格,然后用

所有表创建一个相同的数据库。


可以请帮助吗?



如果你的数据库是Mysql,有命令行工具mysqldump(用于

导出)和mysql(用于导入) )。你也可以简单地复制db目录。

-

gosha bine


扩展php解析器〜 http://code.google.com/p/pihipi

blok~ http://www.tagarga.com/blok


Hi,

My database contains 45 tables the structure of which is evolving as I
develop. I need a utility that will "read" the structure of this
database and it''s tables and then create an identical database with
all tables.

Can you help please ?

解决方案

On 10 Jul, 10:12, Robbo <i...@fds7.comwrote:

Hi,

My database contains 45 tables the structure of which is evolving as I
develop. I need a utility that will "read" the structure of this
database and it''s tables and then create an identical database with
all tables.

Can you help please ?

Use the export option of phpmyadmin.

Also see the newsgroup
alt.possessive.its.has.no.apostrophe
for information on the correct use of an apostrophe in the word "its"!


On 10 Jul, 10:32, Captain Paralytic <paul_laut...@yahoo.comwrote:

On 10 Jul, 10:12, Robbo <i...@fds7.comwrote:

Hi,

My database contains 45 tables the structure of which is evolving as I
develop. I need a utility that will "read" the structure of this
database and it''s tables and then create an identical database with
all tables.

Can you help please ?


Use the export option of phpmyadmin.

Also see the newsgroup
alt.possessive.its.has.no.apostrophe
for information on the correct use of an apostrophe in the word "its"!

That is assuming of course that you are using mysql, since you haven''t
said what database you are indeed using!


On 10.07.2007 11:12 Robbo wrote:

Hi,

My database contains 45 tables the structure of which is evolving as I
develop. I need a utility that will "read" the structure of this
database and it''s tables and then create an identical database with
all tables.

Can you help please ?

If your database is Mysql, there are command-line tools mysqldump (for
export) and mysql (for import). You can also simply copy the db directory.
--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok


这篇关于需要脚本来复制数据库及其所有表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆