Asking anyone to write a complete tutorial in this type of a forum is unreasonable. You can use Google to find the information that you need.
I searched Google using the following search phrase:
Code:
linux pear tutorial
That yielded many links. The following link appears to provide good information.
http://www.easysoft.com/developer/la...r-db-odbc.html
Please try to ask reasonable requests. Perform your own research first. Do as much as you can on your own. When you run into specific problems then return to ask about those specific problems. When you post a question please provide the steps that you have already taken along with the results of those test, in detail.