MySQL UI’s import feature lets you load aDocumentation Index
Fetch the complete documentation index at: https://docs.w22.dev/llms.txt
Use this file to discover all available pages before exploring further.
.sql file directly into your database. You can use it to restore a backup, migrate data from another server, or seed a fresh database — all without leaving the browser.
Opening the import dialog
In the sidebar toolbar, click the Upload (↑) icon. The import dialog opens over your current database view.Import options
SQL file
Click the dashed file drop zone to open your system’s file picker and select a.sql (or .txt) file. Once selected, the filename and file size are shown so you can confirm you’ve chosen the right file.
Target database (optional)
Enter a database name in the Target database field if you want MySQL UI to create a new database and import into it automatically. MySQL UI will runCREATE DATABASE IF NOT EXISTS followed by USE before executing any statements in your file.
Leave this field blank to import into the database that is currently selected in the sidebar.
What MySQL UI does with your SQL
After you click Import, MySQL UI processes your file in the following order:- Strips any byte-order mark (BOM) that some editors add to the beginning of files
- Strips SQL comments (
--and/* ... */style) - Splits the remaining content into individual statements
- Executes each statement against your database one at a time
- Total statements found in the file
- Executed — how many statements ran successfully
- Errors — any failures, listed by statement number with the error message
