Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix en error when running an SQL Script in MySQL Workbench?

I made an SQL Script (I checked it for errors and everything was fine). After that, I opened it in MySQL Workbench. I wanted to run it to view my query results. I clicked: File - Run SQL Script. I selected my file and it came up with an error:

error calling Python module function SQLIDEUtils.runSQLScript

What should I do to successfully run my script file?

like image 826
Purple Scientist Avatar asked Oct 18 '25 19:10

Purple Scientist


1 Answers

In the MySQLWorkbench, instead of File > Run SQL Script, could you try to use File > Open SQL Script followed by Query > Execute (All or Selection)? This way, you should see an output from each query of the schema.sql script.

You could also try to use the mysql command (from a command line) instead. Or, splitting the schema.sql into smaller chunks to isolate the problem.

If nothing work I suggest you check the MySQL Workbench installation.

like image 149
Iakovos Belonias Avatar answered Oct 20 '25 08:10

Iakovos Belonias



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!