Zainstalowalem "jakies tam stery" i mam kod:
using System.System.OleDb;
...
...
private void button2_Click_1(object sender, EventArgs e)
{
System.Data.OleDb.OleDbConnection con;
con = new System.Data.OleDb.OleDbConnection("");
con.ConnectionString = "Provider=MySQLProv;Data Source=mysql;";
try
{
con.Open();
if (con.State == ConnectionState.Open) MessageBox.Show("Connection to MySQL opened through OLE DB Provider");
con.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Komunikat: 'MysqlProv' is not regostered in your local machine
Czego brakuje?