Migrating from PDO using SQLite to clean new install using MySQL

I found out what is wrong.
The tutorial says to remove all double quotes ” and replace them with spaces or backticks `, but some values in the mentioned tables have double quotes around them. This one for example:

INSERT INTO "wp_usermeta" VALUES(14,1,'wp_capabilities','a:1:{s:13:"administrator";s:1:"1";}');

So replacing that with backticks causes malfunction.

Replace only double quotes around table names “wp_usermeta” -> wp_usermeta

tech