Skip to content
GravityKit
Buy
Sign in
0 items
  • Plugins

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
    • GravityView

      GravityView

      Bestseller

      Display Gravity Forms entries on the front-end of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, or PDF and share them instantly with secure download links.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data, including forms, entries, Views, feeds, uploads, and more.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

  • Ideal For

    • Nonprofits
    • Startups
    • Education
    • Web Agencies
    • Developers
    • Government iconGovernment
    Explore All Use Cases

    Case studies

    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    • Mediebruket
    • Dragonfly
    View All Case Studies
  • Resources

    • Blog
    • Case studies
    • Support
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy
    • GravityKit Live!

    Ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Plugins

    • GravityView

      GravityView

      Bestseller

      Display Gravity Forms entries on the front-end of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, or PDF and share them instantly with secure download links.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data, including forms, entries, Views, feeds, uploads, and more.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
  • Ideal For

    • Nonprofits
    • Startups
    • Education
    • Web Agencies
    • Developers
    • Government iconGovernment
    Explore All Use Cases

    Case studies

    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    • Mediebruket
    • Dragonfly
    View All Case Studies

    How to build...

    • Property Management
    • Product Catalog
    • Fundraising Dashboard
    • Real Estate Directory
    • Document Library
    • Academic Journal
    • Volunteer Management
    • Meal Tracker
    View All Guides
  • Resources

    • Blog
    • Case studies
    • Support
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy
    • GravityKit Live!

    ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Pricing
  • About
0 items

Search

Results appear automatically as you type.
Loading results…

results found matching

    Sign in
    Buy

    Docs

    • Docs Home

    Gravity Forms Add-Ons

    • GravityView
    • GravityActions
    • GravityBoard
    • GravityCalendar
    • GravityCharts
    • GravityEdit
    • GravityExport
    • GravityImport
    • GravityMath
    • GravityMigrate
    • GravityRevisions
    • GF Widget for Elementor
    • GF Dynamic Lookup
    • GF Entry Tags
    • GF Event Field
    • GF Zero Spam
    • GravityExport Lite

    GravityView

    • Getting Started
    • View Setup
    • FAQ
    • Pre-Sale
    • Advanced
    • Common Problems
    • Customizing Your Views
    • Edit Entry
    • Entry Approval
    • Filter and Sort Results
    • Gravity Forms
    • Merge Tags
    • Roles and Capabilities
    • Search
    • Shortcodes
    • View Settings
    • WordPress Posts

    General Help

    • Account, Invoices, and Billing
    • License Related
    • Plugins and Settings
    • Contact
    • Docs Home
    • Gravity Forms Add-Ons

      • GravityView
      • GravityActions
      • GravityBoard
      • GravityCalendar
      • GravityCharts
      • GravityEdit
      • GravityExport
      • GravityImport
      • GravityMath
      • GravityMigrate
      • GravityRevisions
      • GF Widget for Elementor
      • GF Dynamic Lookup
      • GF Entry Tags
      • GF Event Field
      • GF Zero Spam
      • GravityExport Lite
    • GravityView

      • Getting Started
      • View Setup
      • FAQ
      • Pre-Sale
      • Advanced
      • Common Problems
      • Customizing Your Views
      • Edit Entry
      • Entry Approval
      • Filter and Sort Results
      • Gravity Forms
      • Merge Tags
      • Roles and Capabilities
      • Search
      • Shortcodes
      • View Settings
      • WordPress Posts
    • General Help

      • Account, Invoices, and Billing
      • License Related
      • Plugins and Settings
    • Contact

    GravityImport

    • “Row #[x] ID does not exist for form” error
    • Allow for non-standard imported values for checkbox fields
    • Can I import a CSV file on the front-end of my website?
    • Can I import passwords with the GravityImport plugin?
    • Capabilities necessary to import entries
    • Configure screen in Entry Importer
    • Create a new form in Gravity Forms from a CSV
    • Does GravityImport limit the number of entries I can import?
    • Does GravityImport process calculations during import?
    • Does GravityImport support importing Nested Form fields?
    • Error: Arguments not allowed here: rest_route
    • Error: CSV file failed to upload
    • Error: Import has finished with errors – HTTP 404
    • Error: Server returned an empty response
    • Exporting a CSV from Apple Numbers
    • Exporting a CSV from Google Sheets
    • Exporting a CSV from LibreOffice
    • Exporting a CSV from Microsoft Excel
    • Exporting List fields as JSON
    • Formatting Dates for Gravity Forms in Microsoft Excel
    • Getting Started with GravityImport: How to Import Entries into Gravity Forms
    • GravityImport Developer Hooks
    • GravityImport Support for Gravity Forms Add-Ons
    • GravityImport: “The importer encountered an error that prevents it from continuing”
    • How to add new fields to an existing form during import
    • How to assign entries to users during import
    • How to change the CSV delimiter
    • How to Clean Up GravityImport Database Tables
    • How to enable pre-release versions of GravityImport
    • How to import data from a MySQL database
    • How to restrict access to Import Entries
    • How to trigger notifications for imported entries
    • Import CSV to Gravity Forms with Import Entries 2.0
    • Import Option: Skip Field Validation
    • Import Step: Choose a form for this import
    • Import Step: Continue Processing if Error Occurs
    • Import Step: Upload CSV
    • Import Step: Where would you like to import the entries?
    • Importing dates in UTC timezone
    • Importing Gravity Forms Post Fields from CSV
    • Importing List fields into a new form
    • Importing List fields into existing foms
    • Naming Your Field Columns
    • Restarting a Gravity Flow workflow after import
    • Updating existing entries with the GravityImport plugin
    • Home
    • Docs
    • GravityImport
    • How to import data from a MySQL database

    How to import data from a MySQL database

    Estimated reading: 1 minutes

    Updated on April 23, 2026

    By downloading your database table as a CSV file, you can import it to Gravity Forms using GravityImport.

    Watch this video for a full tutorial on how to do this:

    This article is based on the video from GravityKit Live!, using the example CSV structure from the demo. For a generic getting started, check out Getting Started with GravityImport: How to Import Entries into Gravity Forms.

    If you have a database table you want to move into Gravity Forms (instead of keeping it in a database table), you can use the GravityImport add‑on to create a new form and import the data automatically.

    Prerequisites #

    • A WordPress site with Gravity Forms installed and activated.
    • GravityKit Import Entries add‑on installed and activated.
    • A CSV export of your database table.

    1. Export Your Database Table to CSV #

    1. Open your database in your preferred database manager.
    2. Locate the table you want to export.
    3. Use the export function to save it as a CSV file.

      (Most database tools have an “Export” or “Download as CSV” option.)

    2. Open the GravityImport “Import Entries” screen #

    Log into your WordPress admin dashboard, then:

    1. Navigate to the Forms menu, click Import/Export, then select Import Entries.

      (If using the GravityKit demo site, visit: gravityimport.try.gravitykit.com).

    2. Ensure the Import Entries add‑on is activated.

    3. Upload Your CSV File #

    1. In the Upload CSV field, click Choose File and select your exported CSV.
    2. Choose Create a New Form.
    3. Give the form a name (e.g., “Imported Form”).

    4. Map CSV Columns to Gravity Forms Fields #

    GravityImport will read your CSV columns and let you choose the Gravity Forms field type for each.

    1. For First Name and Last Name, choose the Name field type.
      • Map CSV first_name → Name (First)
      • Map CSV last_name → Name (Last)
    2. For addresses, select the Address field type.
      • Map CSV columns to Address Line 1, Address Line 2, City, State, ZIP.
      • If the dataset has columns you don’t need (e.g., County), check Do Not Import.
    3. Map Phone to the Phone field type.
    4. Map Fax to the Phone field type.
    5. Map Email to the Email field type.
    6. Map Website to the Website (URL) field type.

    5. (Optional) Filter Which Rows Are Imported #

    You can choose to only import certain rows. For example:

    • Only import entries where the State column is CA.

    6. (Optional) Enable Email Notifications #

    If you want Gravity Forms to send notifications (e.g., “Form Submitted” emails) for imported entries:

    • Enable Email Notifications.

    7. Complete the Import #

    1. Click Create Form and Continue with Import.
    2. When the process finishes, click View Imported Records.

    8. Review the Imported Form & Entries #

    • You’ll now see your imported entries in Gravity Forms with all mapped fields.
    • The form is automatically created for you.
    • You can also choose to import into an existing form instead of creating a new one.

    ✅ You’ve successfully moved your database table data into Gravity Forms!

    Still stuck? How can we help?

    How can we help?

    "*" indicates required fields

    This field is for validation purposes and should be left unchanged.
    Replies will go to this email.
    How can we help?*
    My pre-sale question is related to...*
    My WordPress skills are....*
    My Gravity Forms skills are...*
    You will be shown articles from our documentation.
    Vous pouvez nous écrire dans votre langue maternelle si c’est plus facile pour vous—nous nous occuperons de la traduction!
    Puedes escribirnos en tu idioma nativo si te resulta más fácil; ¡nosotros nos encargamos de la traducción!
    Sie können uns in Ihrer Muttersprache schreiben, wenn das für Sie einfacher ist – wir kümmern uns um die Übersetzung!
    U kunt ons in uw moedertaal schrijven als dat gemakkelijker voor u is — wij zorgen voor de vertaling!
    Du kan skrive til oss på ditt morsmål hvis det er enklere for deg — vi tar oss av oversettelsen!
    Du kan skriva till oss på ditt modersmål om det är lättare för dig — vi tar hand om översättningen!
    Você pode nos escrever em seu idioma nativo se for mais fácil para você — nós cuidaremos da tradução!
    Puoi scriverci nella tua lingua madre se ti è più facile — penseremo noi alla traduzione!
    Please provide as much detail as you're able; this helps us provide you with faster support.
    Drop files here or
    Accepted file types: jpg, jpeg, gif, png, tiff, pdf, bmp, zip, json, csv, xls, xlsx, Max. file size: 256 MB.
      Stay informed?

      Was this page helpful?

      Table Of Contents
      • Prerequisites
      • 1. Export Your Database Table to CSV
      • 2. Open the GravityImport “Import Entries” screen
      • 3. Upload Your CSV File
      • 4. Map CSV Columns to Gravity Forms Fields
      • 5. (Optional) Filter Which Rows Are Imported
      • 6. (Optional) Enable Email Notifications
      • 7. Complete the Import
      • 8. Review the Imported Form & Entries
      GravityKit
      • How to Build It
      • Pricing
      • Products
      • Our Team
      • Our Values
      • Work With Us
      • Coupons
      Support
      • Support
      • Contact
      • Documentation
      • Scope of Support
      • Brand Guidelines
      • Privacy Policy
      • Terms of Service (“Terms”)
      About Us
      • GravityKit on Mastodon
      • GravityKit on Twitter
      • GravityKit Training Courses
      • GravityKit on Facebook
      • Join our Facebook Group
      • Facebook
      • Twitter
      Get notified of updates.

      We’re constantly improving GravityKit. Fill out your email below and we’ll notify you anytime major updates drop.

      GravityKit is a Gravity Forms Certified Developer.

      Copyright © 2026, Katz Web Services, Inc.

      GravityKit and GravityView are registered trademarks of Katz Web Services, Inc.