Added: 2 years ago
From: jbheroxx
Views: 16,044
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (83)

Sign In or Sign Up now to post a comment!
  • You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND password= '' txtpass.text' at line 1

  • @nettsam Can you give me the whole query line?

  • @jbheroxx That is it.

  • Comment removed

  • @nettsam Check your messages

  • I'll have you know, sir, that this is the ONLY helpful video tutorial (or ANY type of tutorial for that matter) on the ENTIRE internet. No lie man... THANK YOU.

  • thanks alot. it was very helpful, is it possible to have a user authentication using the same method. lets say you a db with username,psswrd and userlevel, and you have 3 forms. form a,b and c. and during login it will check which level does the user has, if userlevel is equal to 1 then form A should come up and so on.

  • thanks sir... great job

  • thanks alot sir.... nice turorial...

  • the pastbin are dead...

    try it.

    without space

    pastebin .com /03C31s2w

  • mydata = cmd.ExecuteReader() - my error :(

  • @peejay0812 I have that error too.

  • it says Unable to connect to any of the specified MySQL hosts.

    why was that?

    can you help me in this?

  • Comment removed

  • I got tons of errors..

  • It keeps saying: "Database not available". So it doesn't find the database. It can't connect. So I don't know what's wrong cause it's all connected and all set up.

  • fuck yes trying to find this tut other are sht thxxx

  • Best tutorial about that all others are crab

  • Table 'database.login' doesn't exist error.... <<<<whats this bullshit.. iv tryd everything but it keeps giving me the database as a table

  • Comment removed

  • Hi...can you please Give me link to your WebSite for SourceCode.. Thanks..!

  • ive made a login form with vb 2010 but is it possible to compile it to an exe?

    my build options dissapears as i include mysql to the form..

  • Can any one has an idea about how to get data from mysql and retrieve it put the data to text box instead of data grid?

  • @emann123456

    there is a tutorial on how to get a query to a textbox.

    watch?v=eIHeiAX3wnQ

  • pastebin is a fucking fail! -.-

  • @sputtnikk11 GOTO yills(dot)wordpress(dot)com and you can see the code

  • @emann123456 Thanks :D

  • Comment removed

  • how do i setup my sql server online (im using webs.com(a website hosting site))?

  • @thehaloman96 It does not work like that, you cant fancy around with any web host. They haft to have MySQL databases with remote access. Webs does not include databases of any kind. Try freemysql . n e t ( remove the spaces )

  • Username: admin (or any other username)

    Password: 'OR''1=1'

    that's all you have to do to hack in to a SQL database...

  • source reuploaded: pastebin. com/XHiFgsi7

  • @skiLLdotexe TY! :D

  • pls make a tut for that vid how to set up the database tables!

  • nice tut btw hoe to setup the mysql db? :S

  • @TutorialOfDarkness Got it working nps :) 

  • I dont have any MySQL.Data reference -.-' any help?

  • can you send me the Projekt ? or mh i have md5 hash :/

  • thanks friend!!!!

  • why this is not working? :(

  • plz upload codes again

  • what if i want to allow a user to have access to my program, without knowing his password?

  • pastebin. com/0xNbNKzC

  • plz see and help me what am do ??

    watch?v=Ipggfejz38s

  • If you get SQL Syntax error than change:

    "Select * From Login WHERE Username='" + TextBox1.Text + "'AND Password='" + TextBox2.Text + "'"

    to

    "Select * From Login WHERE Username='" & TextBox1.Text & "'AND Password='" & TextBox2.Text & "'"

  • could you please send me the code for your login? The Code in your links is gone

  • I have a problem with "myData = myCommand.ExecuteReader()"

    It isn't underlined with red, it crashes the program when it tries to obtain a result. :S help

  • Hej :) Thanks for tutorial, but i don't know what should be in mysql database (i have empty mysql base :P)

  • ok, i got it ;)

  • HI GUYS! HERE IS HOW TO FIX THE ERRORS!!!

    Step 1 - make sure that User is the name of your table in php myadmin

    Step 2 - make sure that under Username and Password you have the table names. mine are field1 and field2

    ALSO after txtpass.Text & "';" make sure you have the ; symbol or semicolon for it to work

    let me know if you want a vid tut on this

  • You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELCET * FROM login WHERE username = '' AND password = ''' at line 1

    HELP

  • pastebin. com/f23b87f57

  • @jbheroxx thanks

  • @jbheroxx It is line 31 causing the issues, can you fix it or do you want the solution?

  • Paste bin doesnt work it's been deleted.

  • IT no worky i get the same error as the guy below and i made EVERYTHING correct

  • oiii i got this same error help me plz wt did u do to correct this error !!!!!! i am expectign a big help from youuuuuu

  • I keep getting error when it cant find a server myData = myCommand.ExecuteReader()

    I click the error and this is what I see

    (Connection must be valid and open.)

    InvalidOperationException was unhandled

  • hm i got error:

    Error1Handles clause requires a WithEvents variable defined in the containing type or one of its base types.C:\Documents and Settings\Joler1302\Lokale indstillinger\Application Data\Temporary Projects\WindowsApplication1\L­oginForm1.vb51103WindowsApplic­ation1

  • well i have another question. Does this allow me to change the password of the login forum over the internet?

  • You can use this script as a starting point to then send replace command :D

  • umm i cant find the MySQLData thing, can u help me find it

  • Check the description :)

  • ok thanks dude

  • Where can i get a Mysql database?

  • You can either get one from a free host or from a paid webhost provider, alternatively you could set your own one up by downloading the server software yourself, a great bundle that includes the web server and admin software is something called 'WAMP' search it in google :)

  • This is an extremely insecure method of a Mysql login, If I used a Packet Injection I could easily get all the information to your database, Might want to also make a tutorial for encryptions .

  • Thanks for the quick comment :) this is only meant for a starting point for people to interact with the database through their programs.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more