# SQL Script file ISSUES/Solution

**URL:** <https://forum.codewithmosh.com/t/sql-script-file-issues-solution/8088>\
**Category:** SQL\
**Created:** [October 22, 2021, 3:57pm UTC](https://forum.codewithmosh.com/t/sql-script-file-issues-solution/8088 "2021-10-22T15:57:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavfam](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@kavfam](https://forum.codewithmosh.com/u/kavfam)\
**Post date:** [October 22, 2021, 3:57pm UTC](https://forum.codewithmosh.com/t/sql-script-file-issues-solution/8088/1 "2021-10-22T15:57:22Z")

</div>

When I run the create-databases script (Win 10, MySQL Workbench8), some of the databases show “fetching” tables, views etc. If I EXIT MySQL and re-enter, all databases are fine.  
I checked the other scripts and two have errors. create-db-store and create-db-invoicing. At the top of the files these scripts drop and create databases “store” and “invoicing”. These should be “sql\_store” and “sql\_invoicing”.
