Try following this Shadowplate:
1.
Go to this link, you should see this:
2. Click on the upper most link seen here:

3. Click the text that says "» No thanks, just take me to the downloads!" seen here:

4. Click on a download link, yours should have some Canadian links at the top SP as it works off your IP address (All the links are clean so don't worry about which you use) Being in the UK I see this:

Just click the top link that shows up for you.
5. When the file has downloaded open it up and you should see this installer:

6. Click "Typical" on the install options:

7. Go through the installer with the usual nexts, then click finish:

8. Now you need to open up Visual Studio, make a new C# application

9. Call it anything:

10. You should see a nice blank form like this:

11. Now click on "Project" and go down to "Add Reference":

12. Go to the .Net tab and scroll down to find "MySQL.Data"

13. If the reference added properly you should be able to see the reference in the Solution Explorer:

14. That should be everything! Now we can test some code to make sure it works. Drag a button and a label onto the form:

15. (I made you a database on the MySQL database I have for you to test this on)
Double click on the button and paste the following code into the function:
- Code: Select all
MySqlConnection con = new MySqlConnection("server=my01.winhost.com;Database=mysql_19162_shadowplate;user=shadowplate;password=shadowplate123;");
MySqlCommand command = new MySqlCommand("Create table test(username varchar(50), time datetime, randomText varchar(50))", con);
con.Open();
command.ExecuteNonQuery();
con.Close();
MySqlCommand command2 = new MySqlCommand("insert into test values ('Shadowplate',date(current_timestamp),'lololololol')", con);
con.Open();
command2.ExecuteNonQuery();
con.Close();
label1.Text = "done";
Then go up to the references at the top and paste this under the other references:
- Code: Select all
using MySql.Data.MySqlClient;
This should look like this:

and the button code should look like this:

16. Press 'F5' and click on the button. If it works you should see this:

If you see "done" then just close the application
17. Now we need to go see the table data to make sure it added properly. Make sure Server Explorer is up by going to View -> Server Explorer:

18. Now go to the Server Explorer pane and click on the Add Connection button at the top:

19. On the following pane click Change datasource:

20. Choose MySQL Database:

21: Click Ok and type in the following into the relevant boxes:
- Code: Select all
Server name: my01.winhost.com
Username: shadowplate
Password: shadowplate123
Database name: mysql_19162_shadowplate
This should look like this:

22. Click Ok, then go back to the Server Explorer pane and click the arrow next to Tables then right click on "test_table" and click retrieve data:

23: If it all worked you should see this:

Et voilà!
If any steps don't work for any reason please just make a screenshot or explain the error and I'll have a look. If you need any help actually making some code for a project or anything just ask.
"Scissors cuts paper, paper covers rock, rock crushes lizard, lizard poisons Spock, Spock smashes scissors, scissors decapitates lizard, lizard eats paper, paper disproves Spock, Spock vaporizes rock, and as it always has, rock crushes scissors."