Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Tutorial] - MySql Connector

[Tutorial] - MySql Connector

Posts 1–7 of 7 · Page 1 of 1
stryker0808
stryker0808
[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
#1 · edited 16y ago · 16y ago
NextGen1
NextGen1
File Approved

Tutorial can use a little more information, but thanks for sharing
#2 · 16y ago
hopefordope
hopefordope
so u are saying this is a thing tht chooses a wifi conection
#3 · 16y ago
stryker0808
stryker0808
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.
#4 · 16y ago
hopefordope
hopefordope
so wat is mysql
#5 · 16y ago
NextGen1
NextGen1
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
#6 · 16y ago
NextGen1
NextGen1
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
#7 · 16y ago
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tutorial] Change your IP to unban yourselfBy Super-Man in Game Hacking Tutorials
    3Last post 6y ago
  • Warrock Hack - TutorialBy Dave84311 in WarRock - International Hacks
    667Last post 18y ago
  • Photoshop TutorialsBy Dave84311 in Art & Graphic Design
    3Last post 20y ago
  • Tutorial Replies - Direct Memory Access (DMA) to Static Memory AddressesBy Dave84311 in General Game Hacking
    3Last post 20y ago
  • Gunz Hack - TutorialBy Dave84311 in General Game Hacking
    12Last post 20y ago

Tags for this Thread

#2008#connect#sql#tutorial#visual basic