Hi,
I'm trying to write a windows mobile application that can send query to a desktop server and print out the query result on the windows mobile screen. But I am having trouble connecting to the mysql database from the phone, here is my code:

//I'm using mysql connector as follow
using MySql.Data;
using MySql.Data.MySqlClient;
//================================================== =============================
//This is the method that I use to connect to mysql database
// Get string from sql db and print them out according to query
void proceedQuery()
{
try
{
StringBuilder str2 = new StringBuilder();

String vSource2 = "Persist Security Info=False;database=test_database; server=192.168.1.120;user id=xxx;Password=xxx;pooling=false";

MySqlConnection conn = new MySqlConnection(vSource2);
conn.Open();

MySqlCommand command = conn.CreateCommand();
command.CommandText = "SELECT * FROM customers";
MySqlDataReader thisReader = command.ExecuteReader();

while (thisReader.Read())
{
str2.Append(thisReader["customer_id"].ToString() + "");
str2.Append(thisReader["customer_name"].ToString() + "");
str2.Append(thisReader["Company_Name"].ToString() + "");
}
textBox.Text = str2.ToString();
thisReader.Close();
conn.Close();

}
catch (Exception e)
{
textBox.Text = "Fail to connect to database server";
}
}
//=====================================

The error is at the line conn.Open(); it's giving me error: InvalidOperationException Timeouts are not supported on this stream.

If anyone have experiance with this please help! Or even a better way/advice of how to connect to the database from windows mobile would be greatly appriciated.

Thank you very much!