If I increase the time to do this you will not be able to insert shares. MySql is not Microsoft SQL server. I have to work around it's short comings. Also on Amazon servers if you are using the cpu at 100% to long they throttler you down making the process even slower crushing the pushpools ability to insert shares.

I have a large server with 8 gigs of ram 2 CPUs for MySQL (anything bigger is did not help MySQL only uses one CPU) also I have another server called conserver5.nmcbit.com no one is on that execept me with 29 Mhs and I still get...

This is a very sad statement.If you want to try and help save the NMC blockchain, this kind of computer illiteracy won't get you nowhere, and many people will NOT trust you. As much as I support your good intentions.. well, good intentions do not justify ignorance.

Try to reflect a bit about what you type before you do it, and in the meantime... optimize your MySql, or evolve to Postgres.