How to use SHARED MEMORY between QT and MySQL Server

Suffice few articles devoted to this topic.
Tell us what is best to choose a driver, how to connect and how to pass (insert) large volumes of data.
The data for insert and the database reside on the same local computer.