This is a problem with the test authors, not mocks.
“All the bugs are when talking to an actual database.”
Databases have rules that need to be fillowed, and a lot of those can be tested very quickly with mocks. The combined system can have bugs, so don’t only use mocks. Mocks and unit tests are not a substitute for all the other tests you need to do.
How this person can claim to be a CTO I have no idea.