FileExamples
.sql

MySQL Dump

A sample MySQL database dump with CREATE TABLE and INSERT statements for testing database migration tools.

.sql

MySQL Dump

database file · 15 KB

A sample MySQL database dump with CREATE TABLE and INSERT statements for testing database migration tools.

Format
SQL
Size
15 KB
MIME
application/sql
Bytes
15,360
Download SQL

File Details

File Name
MySQL Dump.sql
Format
SQL
File Size
15 KB
Category
Database
MIME Type
application/sql
License
Free for testing

About SQL Files

SQL (Structured Query Language) files contain database queries, schema definitions, stored procedures, and data manipulation statements. SQL is the standard language for relational databases including PostgreSQL, MySQL, SQLite, SQL Server, and Oracle. SQL files are used for database migrations, backups, seed data, and automated testing.

Common Use Cases for .sql Files

  • Testing file upload and download functionality in web and mobile applications
  • Validating SQL parsers, converters, and rendering engines
  • Automated testing in CI/CD pipelines
  • Prototyping applications that process database files
  • Learning about the SQL file format structure and metadata

How to Open SQL Files

SQL files can be opened with any text editor, database clients (DBeaver, pgAdmin, MySQL Workbench, DataGrip), or executed directly against databases using command-line tools.

Developer Notes

MIME Typeapplication/sqlFile Size15 KBExtension.sqlCategoryDatabase

This file is well-formed with valid headers and metadata, making it safe for automated testing and CI/CD pipelines. You can fetch this file directly in your tests using the URL https://fileexamples.com/api/download?file=sample_dump.sql&type=application/sql. Works with curl, wget, fetch(), axios, and any HTTP client. Set the Content-Type header to application/sql when serving SQL files in your application.

Frequently Asked Questions

What is this sample SQL file used for?

This sample SQL file is designed for testing file upload forms, validating SQL parsers, automated testing, CI/CD pipelines, and prototyping applications that handle database files.

Can I use this file for upload testing?

Yes. This 15 KB SQL file is well-formed with valid headers and metadata, making it suitable for testing file upload endpoints, size limit validation, and MIME type detection (application/sql).

Is this example file safe to download?

Yes. All sample files on File Examples are created in-house, contain no malware or tracking, and are free to download without registration. They are safe for development and testing use.

What software can open this SQL file?

SQL files can be opened with any text editor, database clients (DBeaver, pgAdmin, MySQL Workbench, DataGrip), or executed directly against databases using command-line tools.