Scusa mho capito.... il problema è che il sito risiede su Aruba...quindi io non posso installare nulla!
secondo te potrebbe andare bene questo connector?
ODBC 3.51 Remote database:
"DRIVER={MySQL ODBC 3.51 Driver};SERVER=data.domain.com;PORT=3306;DATABASE= myDatabase; USER=myUsername;PASSWORD=myPassword;OPTION=3;"
ma su server devo inserire l'host MySQL, tipo 62.149.150.19?
Ho chisto aiuto a loro e mi hanno semplicemente creato una pagina aspx che si connetteva al mio database MySQL....però ovviamente non va bene per essere utilizzata con dreamweaver!
Page Language="C#" Debug="true"
Import namespace = "System.Data"
Import namespace = "Microsoft.Data.Odbc"
Assembly Name = "Microsoft.Data.Odbc"
protected void Page_Load(Object sender, EventArgs e) {
string mySQLConnStr = "driver={MySQL ODBC 3.51 Driver};";
mySQLConnStr = mySQLConnStr + "server=62.149.150.19;";
mySQLConnStr = mySQLConnStr + "uid=xxxx;";
mySQLConnStr = mySQLConnStr + "pwd=xxxx;";
mySQLConnStr = mySQLConnStr + "database=Sql55481_1;";
mySQLConnStr = mySQLConnStr + "OPTION=17923";
OdbcConnection myConnection = new OdbcConnection(mySQLConnStr);
string SQL = "select * from ADMIN";
OdbcDataAdapter myCommand = new OdbcDataAdapter(SQL, myConnection);
DataSet ds = new DataSet();
myCommand.Fill(ds, "news");
MyDataGrid.DataSource=ds.Tables["news"].DefaultView;
MyDataGrid.DataBind();
}
Come faccio ad utilizzarla e metterla nel web.config per farla vedere come stringa di connessione da dreamweaver?