Reading table structure and data from sql file.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Binay Agarwal

    #1

    Reading table structure and data from sql file.

    ------=_NextPart_000_ 0046_01C3612B.9 31DFD50
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable

    Hi everybody,

    I have backed(backup.s ql) up one Mysql database which contains 10 =
    tables using mysqldump.

    Now I want to read just one table structure and it's data from =
    backup.sql to another database. How do i achieve it.

    I have tried "mysql databasename < backup.sql" but it will populate the =
    databasename with all the 10 tables present in backup.sql which i don =
    want.=20

    Please help me out.

    Mysql verison : 3.23.52


    ------=_NextPart_000_ 0046_01C3612B.9 31DFD50--


Working...