Updating MySQL Database

Discussion in 'Plugin Development' started by ArSkHelios, Jul 24, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ArSkHelios

    I am not good with mySQL at all nor do I really know how to setup it up. I have this table that is accessed via a website (http://i.dix.im/2014-07-24_1600.png). id_user is already on auto increment. But I want to make a plugin that links to this database.

    Upon login to the server, it creates a new data set in the table. (db is test, table is users), and I want it to auto fill the Minecraft username. I currently am using JDBC to login to my DB.

    Any and all help would be greatly appreciated.

    In need of help as soon as possible if that's possible.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  2. Offline

    Garris0n

    What have you tried so far?

    If you know absolutely nothing about what you're doing, there are tutorials for SQL and JDBC online.
     
  3. Offline

    ArSkHelios

    I just don't know the MySQL Syntax/Java code for inserting data into the db.
     
  4. Offline

    Garris0n

  5. Offline

    macboinc

    You should use UUID for mysql database storage.

    Watch this miniseries by PogoStick29

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
Thread Status:
Not open for further replies.

Share This Page