Pocket PC And MySQL Connector Net 6.2.1
Posted by: hoan tran quang
Date: November 18, 2009 09:08AM

//Pocket PC
//MySql.Data.CF.dll
//error: Timeouts are not supported on this stream.
//help me!

using System;
using System.Windows.Forms;
using MySql.Data.MySqlClient;

namespace SmartDeviceProjectDemo1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
const string strConn = "server=192.168.189.1;User Id=root;password=<mypass>;Persist Security Info=True;database=test";
MySqlConnection conn = new MySqlConnection(strConn);
conn.Open();//this line error: Timeouts are not supported on this stream.
MessageBox.Show("Connect succeed!");
}
}
}

//thanks!

Options: ReplyQuote


Subject
Written By
Posted
Pocket PC And MySQL Connector Net 6.2.1
November 18, 2009 09:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.