I am using C# 5 on Windows in the Atom IDE with the script package. In order to connect to a PHPMyAdmin MySQL database server, I need the mysql.data
namespace, but without Visual Studio, I do not know how to include this assembly reference.
String server = "localhost";
String database = "connectcsharptomysql";
String uid = "username";
String password = "password";
String connectionString;
connectionString = "SERVER=" + server + ";" + "DATABASE=" +
database + ";" + "UID=" + uid + ";" + "PASSWORD=" + password + ";";
MySqlConnection s = new MySqlConnection(connectionString);
I have viewed these posts but they all concern using Visual Studio or a problem with the connection itself.