Stream reas error

giordano2 posted 2 years ago in Running SQL scripts
I have one sql-script (1025 rows) which I can't load into HeidiSQL. When I want to load it with Datei/SQL-Datei laden or Ctrl-o I got the following message:
"Stream read error"
All other sql-files can be loaded. The work around is coping/pasting the code into HeidiSQL. Somebody has an idea what the error meansand how I can avoid it?
jfalch posted 2 years ago
hm. looks like some low-level disk error; i suggest you run checkdisk and see if the error condition goes away.
giordano2 posted 2 years ago
I did checkdisk but problem remains.
giordano2 posted 1 year ago
At the end I found this solution: Copy sql into notepad, saved it and renamed it with extension .sql. Now it works.

Please login to leave a reply, or register at first.