(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?
(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.
There is a complicated set of steps that Oracle says is a workaround, not a solution. Go to the ORacle support site and find this Doc ID.
Error 'Database disk image is malformed' When Attempting to Open a Project, or 'Catastrophic error' When Logging into P6 Standalone with an SQLite Database (Doc ID 2021648.1)