Jump to content

MySQL or SQLite


Shockhazard30

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.