Skip to main content
Glama

MySQL MCP Server

MIT License
56
1
  • Apple
  • Linux

mysql_import_data

Import data from CSV or JSON files into MySQL tables. Use the tool to specify table name, file path, format, and optional truncation to streamline data loading processes.

Instructions

从文件导入数据到表

Input Schema

NameRequiredDescriptionDefault
filePathYes导入文件路径
formatYes文件格式
tableNameYes表名称
truncateFirstNo是否先清空表

Input Schema (JSON Schema)

{ "properties": { "filePath": { "description": "导入文件路径", "type": "string" }, "format": { "description": "文件格式", "enum": [ "csv", "json" ], "type": "string" }, "tableName": { "description": "表名称", "type": "string" }, "truncateFirst": { "default": false, "description": "是否先清空表", "type": "boolean" } }, "required": [ "tableName", "filePath", "format" ], "type": "object" }

Other Tools from MySQL MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pickstar-2002/mysql-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server