close

1. Create a new database named "newdb"
=> mysqladmin -uroot -p create newdb

2. Copy old datbase to the new database:
=> mysqldump olddb -uroot -p | mysql newdb -uroot -p

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 DanBrother 的頭像
    DanBrother

    DanBrother的部落格

    DanBrother 發表在 痞客邦 留言(0) 人氣()