SQL · Grátis · No dispositivo

Corrupt an SQL File Online

Corrupt a .sql dump online for free. Breaks statement structure and encoding so imports fail instead of loading partial data.

  • Sem envio
  • Sem limite de tamanho
  • Sem registo

Corrompa o seu ficheiro SQL

Afinado para .sql, .dump, e funciona igualmente bem com qualquer outro formato.

100% no dispositivo
Largue ficheiros aqui ou procure Qualquer formato, qualquer tamanho, vários ficheiros de uma vez
Nível de corrupção

A processar…0%
Pronto a transferir

Porque os ficheiros SQL são difíceis de corromper como deve ser

An SQL dump is a text file of statements executed in order. That makes partial corruption genuinely dangerous in the real world, an import can succeed for thousands of rows and then fail halfway, leaving a database in an inconsistent state. Reproducing that on demand is exactly what this is for.

O que esta ferramenta destrói

  • Statement terminators. Semicolons and line breaks are overwritten, so statements run together into unparseable input.
  • String literal quoting. Quotes are broken up, leaving literals unterminated and swallowing subsequent statements.
  • The dump header. The opening bytes containing the client and server version comments are destroyed.
  • Encoding validity. Invalid UTF-8 sequences make the file fail on import before any statement executes.

O que vai ver a seguir

AplicaçãoComportamento
mysql < dump.sql"ERROR 1064 (42000): You have an error in your SQL syntax" and the import aborts.
psql -fReports invalid byte sequence for the encoding and stops.
phpMyAdmin / AdminerImport fails with a syntax error and a line number.
Light levelImport may run partway before failing, the realistic partial-restore scenario.

Motivos comuns para fazer isto

  • Rehearsing a restore from a damaged backup before it happens for real.
  • Verifying an import runs inside a transaction and rolls back cleanly on failure.
  • Testing that a migration tool reports the failing statement rather than continuing.
  • Demonstrating why backups must be verified, not just taken.

Como corromper um ficheiro SQL

  1. Largue o seu ficheiro .sql na caixa acima, ou clique para procurar.
  2. Deixe o nível em Standard, a menos que queira dano parcial (Light) ou precise de derrotar software de recuperação (Heavy).
  3. Prima Corromper ficheiro. O processamento decorre no seu dispositivo, por isso termina quase de imediato.
  4. Transfira o resultado. Por predefinição mantém o nome de ficheiro e o comprimento em bytes originais.

Perguntas frequentes sobre SQL

Can I simulate a partial restore?

Yes, and this is the most useful case. Light level leaves most statements intact, so an import typically runs for a while before failing, which is precisely the scenario that catches missing transaction handling.

Does it work on compressed dumps?

A .sql.gz file is handled as a gzip archive instead, which breaks the whole thing at once. Decompress first if you want statement-level damage.

Will it break a specific table?

Not deterministically, damage is scattered, not targeted at named objects.

Is the original dump modified?

No. The corruption is applied to a copy in memory and downloaded separately.

Use isto de forma responsável. O Files Corrupter foi criado para testes de software, QA, investigação, formação e ensino. Entregar um ficheiro corrompido de propósito para fazer passar trabalho por concluído pode violar as regras da sua escola ou entidade empregadora. É responsável pelo uso que faz do resultado. Consulte a nossa declaração de exoneração.

Mais ferramentas code & data

Todas as ferramentas de corrupção