Categorized | MySQL

#3 Mysql Connection Vb 9.0 VB.net

Posted on 17 March 2010 by Abidoon


pastebin.com Shows the user how to create a program that will interact with an mysql database on a simple level. dev.mysql.com www.think-tek.net/tutorials

Tags | , ,

23 Responses to “#3 Mysql Connection Vb 9.0 VB.net”

  1. thetechall says:

    youd need to ask the other host for it.

  2. GoronPikachu says:

    mind helping me with mine

  3. jbheroxx says:

    pastebin. com/f23b87f57

  4. Bocky25 says:

    hey man,
    really nice video, thanks heaps. i noticed that you connected to a local mysql db but id like to connect to a mysql database on my website hosted by someone else. obviouisly “localhost” isnt the address nor is the IP of the server.. what should the address be?

  5. MrApplication says:

    i got this error to mate wtf help us out here please

  6. Shineatric says:

    Hey. i get error here:
    myData = myCommand.ExecuteReader()

    Have added the imports in the top.
    Also get that the “Connection must be valid and open” .
    I added a Debug.WriteLine(myError.ToString) in the catch block and can see that it will not connect to my MySQL but cant se any error in the connection string. Help

  7. blahblahgayblah says:

    stop fucking moving the mouse around so much so we can actually see the source

  8. TheDeveloperGuy says:

    You need to put this string at the top first:

    Imports MySQL.Data.MysqlClient

  9. DevinTV says:

    Whats the code?

  10. draco0594 says:

    W,W,W [Punkt] vb-community [punkt] eu

  11. 1337bunny1337 says:

    I added the MySql.Data and when I input
    Dim conn as MySQLConnection

    it says:
    Type ‘mysqlconnection’ is not defined

  12. popup999 says:

    waa finally it is working for me….
    yours is only tutorial which provided complete guide I GAVE 5 STARS

  13. purmarili says:

    When I am trying to connect to the server located on my computer it works, but when i try to connect to my Server’s SQL it tells me that->> “Connection must be valid and open”

    please Help me to solve this problem,
    Thanks in advance

  14. purmarili says:

    I have done exactly what you did, (just changed the SQLconnectionstring to my MYSQL settings ) but it doesn’t works. it makes Eror on ‘conn.open’ all the time. do you know , Does MySQL need some features to be enabled to support such code or why it is not working?

  15. cutieann12 says:

    hello nice tutorial thanks for your effort in making this. It is very helpful. Could you please make a tutorial about loading pictures in mysql through vb 2008 thanks i’m looking forward to that tutorial.

    More power.

  16. jbheroxx says:

    Yes it should do, as far as I am aware the only thing you would need to do is download the Visual Basic 6 version of the mysql.dll

  17. jbheroxx says:

    Check my other videos I have covered this.

  18. nath042 says:

    would this work in vb6?

  19. xDhimAgainxD says:

    Good Job Man! Hey, can you make a MySQL Tutorial on making a Advanced Login System?

  20. jbheroxx says:

    No problem. :)

  21. jbheroxx says:

    Thanks a lot!

  22. warlord90210 says:

    Good tutorial, I don’t want to learn Microsoft’s SQL stuff and I know MySQL very well. Thanks for making this video!

  23. BigBurnouts says:

    Very nice thanks!


Leave a Reply