Jump to content

Recommended Posts

I am starting to learn PHP and MySql are there major advantages to using SQLite over MySQL or vice versa?

 

SQLite is a flat file database. It's major advantage is it doesn't require you to install (or have access to) any kind of database server. Other than that, it's capabilities are inferior to MySQL.

 

I've been coding in PHP for more than 2 years and I've never seen any article/guide/tutorial written for PHP and SQLite.

 

Just to prove there's at least one :P

http://framework.zend.com/docs/quickstart

Link to comment
https://forums.phpfreaks.com/topic/189632-mysql-or-sqlite/#findComment-1000870
Share on other sites

Hi

 

My view is it depends on how flexible you want the system to be.

 

For a main database for a system I would use MySQL, taking advantage of its more powerful database.

 

However if I want something compact and easily transferred then I would use SQLite. Indeed I used it recently for transferring data between a desktop application and a php web site.

 

All the best

 

Keith

Link to comment
https://forums.phpfreaks.com/topic/189632-mysql-or-sqlite/#findComment-1000885
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.