Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string server = "abc.com";
- string database = "abc";
- string user = "abc";
- string password = "abc";
- string port = "3306";
- string sslM = "none";
- string connectionString = String.Format("server={0};port={1};user id={2}; password={3}; database={4}; SslMode={5}", server, port, user, password, database, sslM);
- MySqlConnection connection = new MySqlConnection(connectionString);
Add Comment
Please, Sign In to add comment