Results 1 to 7 of 7
  1. #1
    stryker0808's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Toronto, Ontario, Canada
    Posts
    21
    Reputation
    10
    Thanks
    2
    My Mood
    Bored

    [Tutorial] - MySql Connector

    I don't know if this has been made before, I did a search and couldn't find it, so here's a quick tutorial.

    To be able to connect to mysql you need to install whats called a MySql Connector.

    Download below

    Get Things Ready

    First install the program, It just takes a few seconds.

    After installation open up VB 2008 and follow these steps.

    1. Go to Project > Add Reference
    2. Click .NET Tab and search for MySQL.Data and Add it
    3. Go into the code view and above the "Public Class" type

    "Imports MySql.Data"

    And your set to create a connection.

    Set Up A Simple Connection

    Code:
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim connect As MySqlConnection = New MySqlConnection("server=YOUR HOSTING SERVER;database=YOUR DATABASE NAME;uid=YOUR USERNAME;password=YOUR PASSWORD;")
            Try
                connect.Open()
                If connect.State = ConnectionState.Open Then
                    MessageBox.Show("Sucessfully Connected!", "Let op!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1)
                End If
            Catch err As MySqlException
                MessageBox.Show(err.Message, "Unable to Connect")
                connect.Close()
            End Try
        End Sub
    Hope this helps. Have a nice day!

    VirusTotal
    Virscan
    Last edited by stryker0808; 02-25-2010 at 03:49 PM.



  2. The Following User Says Thank You to stryker0808 For This Useful Post:

    Blubb1337 (02-26-2010)

  3. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    File Approved

    Tutorial can use a little more information, but thanks for sharing


     


     


     



    The Most complete application MPGH will ever offer - 68%




  4. #3
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    so u are saying this is a thing tht chooses a wifi conection

  5. #4
    stryker0808's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Toronto, Ontario, Canada
    Posts
    21
    Reputation
    10
    Thanks
    2
    My Mood
    Bored
    Quote Originally Posted by hopefordope View Post
    so u are saying this is a thing tht chooses a wifi conection
    Not at all, This is a connector that is used to link visual basic and MySql for you to perform query's. It has nothing to to with an internet connection.



  6. #5
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    so wat is mysql

  7. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Mysql is used for database, However, It isn't optimal, MS Sql is more practical and doesn't have some of the limitations that mysql holds.

    But it will work


     


     


     



    The Most complete application MPGH will ever offer - 68%




  8. The Following User Says Thank You to NextGen1 For This Useful Post:

    hopefordope (02-25-2010)

  9. #7
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Posts Deleted, I made it very clear, No Spam, No Baiting, Stay On Topic

    I don't care if you take code that is offered free from MSDN , Put credit in.

    Mean while, This isn't a debate thread.

    keep this section clean

    /Closed


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [Tutorial] Change your IP to unban yourself
    By Super-Man in forum Game Hacking Tutorials
    Replies: 3
    Last Post: 10-13-2019, 03:33 AM
  2. Warrock Hack - Tutorial
    By Dave84311 in forum WarRock - International Hacks
    Replies: 667
    Last Post: 10-09-2007, 10:10 AM
  3. Gunz Hack - Tutorial
    By Dave84311 in forum General Game Hacking
    Replies: 12
    Last Post: 01-09-2006, 08:16 PM
  4. Replies: 3
    Last Post: 01-04-2006, 09:52 PM
  5. Photoshop Tutorials
    By Dave84311 in forum Art & Graphic Design
    Replies: 3
    Last Post: 12-31-2005, 07:21 AM

Tags for this Thread