Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GlobalCitizen's avatar

Can't import sample sakila database to table plus.

When I try to import sakila database from mysql i am having this error?

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER ;; CREATE TRIGGER ins_film AFTER INSERT ON film FOR EACH ROW BEGIN' at line 5

0 likes
5 replies
Ashma_Z's avatar

I have the same problem. How come there is no solution/reply yet to this?

kamalahmed's avatar

I was facing the same problem when importing using tableplus as well as sequel pro. Then imported via cli and it worked fine. after importing I used the tableplus to access the data and it is working fine.

rijavecb's avatar

I had the same issue last night, using TablePlus on Windows, and this is what seemed to work for me:

  1. Open sakila-schema.sql and then sakila-data.sql in a text editor. I used Jetbrain's Fleet.
  2. Copy the entire document/text to clipboard
  3. In TablePlus open the database and then SQL Editor (SQL Query)
  4. Paste the entire file and then "Run All"
1 like

Please or to participate in this conversation.