Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract Database()
- {
- ReadConfig();
- connectionstring = "SERVER=" + server + ";" +
- "DATABASE=" + database + ";" +
- "UID=" + username + ";" +
- "PASSWORD=" + password + ";";
- try
- {
- connection = new MySqlConnection(connectionstring);
- }
- catch (MySqlException ex)
- {
- LogService.Log("ERROR - " + ex.ToString());
- }
- }
Add Comment
Please, Sign In to add comment