do you mean mySQL?
Version 3.1.4? really?
wow, dont think we have anyone from that many years back in some time… what version of WP are you on? cant imagine that version would function well with recent WP versions… to get to the current 5.2.x, you will need to be on at least wp 3.3 but we would recommend 3.5
and the only way to get to SP 5.2.2 is to upgrade from SP 4.5.1… so you will first need to upgrade to 4.5.1… and since you are coming from so many versions ago, you will probably need to incrementally upgrade to minor versions given the myriad of wp changes since your version… and we may still have problems from that far back again because of the changes in wp rendering those old versions non functional…
and make db backups along the way just in case…
so first lets try to upgrade you to 4.0 (which btw is from 2008): https://simple-press.com/download-manager.php?id=44
then 4.1: https://simple-press.com/download-manager.php?id=149
then 4.2: https://simple-press.com/download-manager.php?id=182
then 4.3: https://simple-press.com/download-manager.php?id=228
then 4.4: https://simple-press.com/download-manager.php?id=275
the 4.5.1: https://simple-press.com/download-manager.php?id=401
and then give it a shot to go to 5.2.2… fingers crossed…