Eclipse: resource is outof sync with the file system – permanent solution

Mysteriously got the following exception when trying to build an Eclipse project: “resource is out of sync with the file system” Although I can’t be sure, I think I may have deleted a file outside of Eclipse. To fix theContinue reading… Eclipse: resource is outof sync with the file system – permanent solution

MySQL Error Number 1005 Can’t create table ‘.mydb#sql-328_45.frm’ (errno: 150)

If you get this error while trying to create a foreign key, it can be pretty frustrating. The error about not being able to create a .frm file seems like it would be some kind of OS file permission errorContinue reading… MySQL Error Number 1005 Can’t create table ‘.mydb#sql-328_45.frm’ (errno: 150)

java.sql.SQLException: Io exception: Invalid Packet Lenght

Similar exceptions are : 1. java.io.IOException: Io exception: Unexpected packet 2. java.sql.SQLException: Protocol violation 3. java.sql.SQLException: Io exception: Bad packet type 4. java.sql.SQLException: Bigger type length than Maximum 5. java.sql.SQLException: Io exception: Invalid Packet Lenght 6. java.sql.SQLException: Closed Connection 7.Continue reading… java.sql.SQLException: Io exception: Invalid Packet Lenght