简体   繁体   中英

How can I delete or replace a mySQL dump file on a database in phpmyadmin?

I have just imported a mySQL dump file on a database from another database.

The reason for this is that I am following these steps to transfer a website from one server to another one. I don't think I did it right as I am not getting what I should get on step 8: in a web browser go to: http://www.yourNewDomain.com/wp-change-domain.php .

How can I delete or replace a mySQL dump file on a database in phpmyadmin? I will try to import my database again to see if step 8 works.

Since you are not providing any data it's hard to tell what's wrong with step 8 of your tutorial. However, to answer your question, I suppose you have imported the entire wordpress database: if the dump was not correct and you want to import it again, you should delete it first with:

DROP DATABASE db_name;

and then reimport it. Be very careful, don't do that if you aren't sure what you are doing, you could lose data!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM