Using an SQLite database

Using an SQLite database

mccloudmccloud Posts: 35Questions: 15Answers: 2

Which files need to be changed in order to use an SQLite database instead of MySQL? and which directory does the SQLite database have to be uploaded to?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,734Questions: 1Answers: 10,110 Site admin

    I'm afraid I'm not entirely sure what you are referring to, could you be more specific? Is this for the SSP demo class in DataTables' demos, or Editor, or something else?

    Allan

  • mccloudmccloud Posts: 35Questions: 15Answers: 2

    This is in the Editor. At the moment the generator only offers MySQL and MSSQl. I need to use the Editor with an SQLite database. I gather the the DB details are stored in the config file, but do any other files need changing in order to use the generated code on an SQLite database.

  • allanallan Posts: 61,734Questions: 1Answers: 10,110 Site admin
    Answer ✓

    Thanks for the clarification. You would need to change the type parameter in the $sql_details array to be Sqlite per the instructions here.

    You would also need to modify the SQL that Generator creates to be valid for Sqlite. That should be all you need to do.

    Allan

This discussion has been closed.