vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Wed, 28 Jun 2006 05:24:44 -0700, deko wrote: > I need to synchronize 2 databases on the same server - everything except one > table. > > Any suggestions on the best way to do this? Let's start with a different question: why do you want to exclude this one table? -- I still want a phone with caller-IQ. -- Tanuki in the monastery |
| |||
| deko wrote: > I need to synchronize 2 databases on the same server - everything except > one table. > > Any suggestions on the best way to do this? > > Thanks in advance. If by "synchronize" you mean copy all the data, you may use mysqldump. $ mysqldump --ignore-table=table_name first_db_name | mysql second_db_name ciao gmax -- _ _ _ _ (_|| | |(_|>< The Data Charmer _| http://datacharmer.org/ |
| ||||
| "deko" <deko@nospam.com> wrote: > I need to synchronize 2 databases on the same server - everything > except one table. > > Any suggestions on the best way to do this? This depends on what you mean by "synchronize". Maybe MySQLs replication works for your problem. You need 2 MySQL instances running on the same server for that. http://dev.mysql.com/doc/refman/5.0/...ion-intro.html http://dev.mysql.com/doc/refman/5.0/...e-servers.html XL -- Axel Schwenke, Senior Software Developer, MySQL AB Online User Manual: http://dev.mysql.com/doc/refman/5.0/en/ MySQL User Forums: http://forums.mysql.com/ |