If you're using phpMyadmin, you have to select the new database first, before you run the SQL statements.
Also do spend some time on our really informative Codex page - https://codex.wordpress.org/Moving_WordPress
If you're using phpMyadmin, you have to select the new database first, before you run the SQL statements.
Also do spend some time on our really informative Codex page - https://codex.wordpress.org/Moving_WordPress