When importing sql- table in the database error. New server, VDS .

Warning: mb_strpos () [function.mb-strpos]: Unknown encoding or conversion error. in /usr/share/phpmyadmin/libraries/import/sql.php on line 152

Dumps are small, each from 90kb to 1.5mb. On any of them the same error.

How to be?

  • Unknown encoding or conversion error does not say anything? - Vladimir Klykov
  • Encodings and other are the same. Identical bases, just trying to transfer content from one to another. - Tchort
  • Out of position, restored dump via ssh - Tchort

1 answer 1

most likely, phpmyadmin simply cannot “handle” your data.

you can try to use the mysql program:

 $ cat дамп.таблицы | mysql --user=пользователь --password=пароль база.данных