mysql functions update:
connectDB()
DBVersion()
recreatePortTable()