They will not "turn off" mysql. It won't be supported in php 7, which they won't force you to upgrade to.
You would have to redevelop the pages to use MySQLi. It is not a simple update of just the connection. All of the code on the pages that interact with the database would have to be updated as well.