Shockhazard30 Posted January 24, 2010 Share Posted January 24, 2010 I am starting to learn PHP and MySql are there major advantages to using SQLite over MySQL or vice versa? Quote Link to comment https://forums.phpfreaks.com/topic/189632-mysql-or-sqlite/ Share on other sites More sharing options...
asmith Posted January 24, 2010 Share Posted January 24, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/189632-mysql-or-sqlite/#findComment-1000849 Share on other sites More sharing options...
Mchl Posted January 24, 2010 Share Posted January 24, 2010 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 http://framework.zend.com/docs/quickstart Quote Link to comment https://forums.phpfreaks.com/topic/189632-mysql-or-sqlite/#findComment-1000870 Share on other sites More sharing options...
kickstart Posted January 24, 2010 Share Posted January 24, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/189632-mysql-or-sqlite/#findComment-1000885 Share on other sites More sharing options...
Shockhazard30 Posted January 25, 2010 Author Share Posted January 25, 2010 Thanks, it sounds like I should familiarize my self with both but lean on MySQL more for functionality. I appreciate it. Quote Link to comment https://forums.phpfreaks.com/topic/189632-mysql-or-sqlite/#findComment-1001053 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.