SQLLite help

Discussion in 'Plugin Development' started by DeamonZ, Aug 25, 2014.

?

What saving method do you use?

Poll closed Oct 13, 2014.
  1. YML

    0 vote(s)
    0.0%
  2. MySQL

    2 vote(s)
    100.0%
  3. SQL

    0 vote(s)
    0.0%
  4. DAT

    0 vote(s)
    0.0%
  5. Other

    0 vote(s)
    0.0%
Thread Status:
Not open for further replies.
  1. Offline

    DeamonZ

    Hello,

    I'm occasionally developing plugins for clients with MySQL compatibility.
    I used to test these on remote SQL servers, but i 'd like to test those localhost.
    Then I asked around and some of my friends told me they use SQLLite because it's easier to configure.
    However I dunno how SQLLite works and how I could use it in my plugins.
    Could someone explain to me how I could use it in my plugins and how I connect with them?
    A tutorial is welcome too! ;)

    Regards,
    DeamonZ
     
  2. Offline

    TheMcScavenger

  3. Offline

    DeamonZ

  4. Offline

    fireblast709

    DeamonZ The main change is that the DriverManager uses the following as first parameter
    Code:
    jdbc:sqlite:<file path>
    The rest is pretty much the same (aside a few subtle differences between SQLite and MySQL)
     
Thread Status:
Not open for further replies.

Share This Page