Search code examples
mysqldatagrip

Import .sql file with DataGrip?


Im trying to import a pretty big .sql file with data grip. It's called file.sql and I need it in the schemas section. But it only allows me to upload it under a schema file. Will it still work?


Solution

  • Yes, it'll be fine.

    Also, there're several ways to run "big" files:

    1. Attach a file to project and execute Run

    run from attached file

    1. Run from Database Tool window via Run SQL Script or use mysql

    run from database tree