MySQL

Discussion in 'Plugin Development' started by CarPet, Nov 15, 2012.

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

    CarPet

    Does anyone know how to connect to an MySQL server so the plugin can store a file on a server and then on another server with the same plugin it would create a file on the MySQL server too. I have no idea where to start.
     
  2. Offline

    gcflames5

    MySQL cannot be taught in one post, or one fourm for that matter. You (most likely) will not find a tutorial on how to do this relating to bukkit in any way.

    Here is a tutorial I found after about 5ms of searching: http://www.mysqltutorial.org/

    *You might need to serialize the file depending on what type of file you want to save
     
  3. Offline

    SirTyler

    I actually just started taking a look at MySQL today, so I can see why you are getting lost and confused.

    Code:
    Step 1) Understand MySQL via its commands (As the tutorials mostly teach).
    Step 2) Practice interacting with MySQL through the commands.
    Step 3) Use java to connect with a test Database, and experiment only using the Java code.
    Step 4) Use in Production Code.
     
Thread Status:
Not open for further replies.

Share This Page