- Home /
System.data.Common.DbConnection not found
Hi !
I'm making a webGL application which is link to a MySQL database but I got an error
The error is on dbcon.Open()
Blockquote
string conString = "*,3306;" + /// 21 or 3306
"Database=db;" +
"User ID=.....;" +
"Password=....;";
public void TestConnection()
{
MySqlConnection dbcon = new MySqlConnection(conString);
try
{
dbcon.Open();
}
catch (System.Exception)
{
Debug.Assert(false,"Connection fail");
}
Debug.Log(dbcon.State);
}
private void Start()
{
TestConnection();
}
I'm using MySql.Data.MySqlClient and System.Data
If any of you can help me
error.png
(22.7 kB)
includeddll.png
(8.0 kB)
Comment
Your answer
Follow this Question
Related Questions
Why i keep getting this message : Wrong response ? 0 Answers
Workflow Question with Unity and online Database 0 Answers
MonoDevelop problem with 4.1.4 1 Answer
Unity5 to connect mySQL data base using C# - I need help 2 Answers
RPG Quest structure in MySQL 0 Answers