473,750 Members | 2,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP MySQL WHY?

I've been thinking on this long and hard, and I can't seem to come up
with an answer on it.

Why is it almost always assumed the MySQL will be the server for nearly
any PHP app?

Why is it MySQL and not PostGRES or SQLite?

At this point the only reason I can think of is that MySQL has a much
more friendly name. But is that really it?

Is there some winning advantage that MySQL has over PostGRES that makes
it the de-facto standard in the PHP world?

Just curious, because I've been playing with PostGRES for about a month
now and it seems to scale MUCH better than MySQL, what with
clustering,tran sactions and all that jazz.

Thoughts?

Sep 26 '05 #1
29 2583
sm*****@gmail.c om wrote:
I've been thinking on this long and hard, and I can't seem to come up
with an answer on it.

Why is it almost always assumed the MySQL will be the server for nearly
any PHP app?

Why is it MySQL and not PostGRES or SQLite?

At this point the only reason I can think of is that MySQL has a much
more friendly name. But is that really it?

Is there some winning advantage that MySQL has over PostGRES that makes
it the de-facto standard in the PHP world?

Just curious, because I've been playing with PostGRES for about a month
now and it seems to scale MUCH better than MySQL, what with
clustering,tran sactions and all that jazz.

Thoughts?


Hi,

My thoughts?
Go Postgresql!
http://www.postgresql.org/
But you found that website already I guess. :-)

All Postgresql-functions in PHP work perfectly.
I'll never switch db as long as Postgresql is around.
It scales better, has LOADS more functionality, and is superrobust.
;-)

Regards,
Erwin Moller

Sep 26 '05 #2
Actually I pretty much feel the same... My question I'm asking though
is why MySQL? I just get the feeling that with it's prevailance that I
must be missing something here, other than of course it seems to be the
defacto standard.

Sep 26 '05 #3
sm*****@gmail.c om wrote:
Actually I pretty much feel the same... My question I'm asking though
is why MySQL? I just get the feeling that with it's prevailance that
I must be missing something here, other than of course it seems to be
the defacto standard.


I think it is a chicken and egg situation with ISPs. They offered it,
because it was popular and it was popular because ISP offered it.

Well, that is my theory anyway. Everyone tells me that Postsomething is the
best DB out there. Hopefully MySQL will come to the play.

Cheers

Nicolaas
Sep 26 '05 #4
sm*****@gmail.c om wrote:
Actually I pretty much feel the same... My question I'm asking though
is why MySQL? I just get the feeling that with it's prevailance that I
must be missing something here, other than of course it seems to be the
defacto standard.


Hi,

Well, it has probably everything to do with the fact that mySQL was working
on M$ machines, and Postgresql was not.
So everybody coming from M$ world picked mySQL, and even if they used it on
a webserver that runs GNU/Linux, they wanted mySQL because they knew it
already.

But Postgresql has been ported to M$ as well now, and works good I heard.
(I didn't try the M$-Postgresql thought myself...)

About a week ago I discovered that MySQL doesn't support FK constraints, and
I asked a similar question in this ng: "Why is mySQL so popular? It doesn't
even support basic stuff like FK???"

One of the answers I received said that it is possible with mySQL, in
certain setups: INNO-DB-tables.

Anyway: mySQL is popular because it was running everywhere and was open
sourced. Postgresql didn't run everywhere. (I always wondered why anybody
would bother to run a webserver under W$, but that is beside the point
here.)

Regards,
Erwin Moller
Sep 26 '05 #5
sm*****@gmail.c om wrote:
I've been thinking on this long and hard, and I can't seem to come up
with an answer on it.

Why is it almost always assumed the MySQL will be the server for nearly
any PHP app?

Why is it MySQL and not PostGRES or SQLite?


I've been using MySQL for some time - it works. I don't have enough
experience with Postgres to criticise it - indeed it is offered as GPL
without restrictions (a lot of people ignore the exceptions in the MySQL
license) which to my mind would make it more approriate. I will say that
MySQL has been the most reliable DBMS I've used, and easiest to manage
(compared with Oracle, MS-SQLserver, Progress and Pencil). (I'm not wanting
to start a flame war here - this is my experience - not necessarily yours).

Is there an equivalent to phpMySQLAdmin for Postgres?

SQLite does not scale well.

C.

Sep 26 '05 #6
Colin McKinnon wrote:
sm*****@gmail.c om wrote:
I've been thinking on this long and hard, and I can't seem to come up
with an answer on it.

Why is it almost always assumed the MySQL will be the server for nearly
any PHP app?

Why is it MySQL and not PostGRES or SQLite?


I've been using MySQL for some time - it works. I don't have enough
experience with Postgres to criticise it - indeed it is offered as GPL
without restrictions (a lot of people ignore the exceptions in the MySQL
license) which to my mind would make it more approriate. I will say that
MySQL has been the most reliable DBMS I've used, and easiest to manage
(compared with Oracle, MS-SQLserver, Progress and Pencil). (I'm not
wanting to start a flame war here - this is my experience - not
necessarily yours).

Is there an equivalent to phpMySQLAdmin for Postgres?

SQLite does not scale well.

C.


Hi,

I cannot restain myself, sorry.
But mySQL is the best db you ever saw?
Do you think it is better than Oracle?
Or MS SQLServer (one of the few good products BOUGHT by M$) ?
I really cannot agree.

I worked a lot with MS SQL Server. Only hit on 1 bug. Worked like a charm,
and the adminpanel is great.
Postgresql: My personal favorite: GPL, featurerich, robust, well documented.
Oracle: I worked (a little) with Oracle, which is intimidating to say the
least, but it is rocksteady, and very featurerich. You just need a
course/good book before you can start with Oracle without screwing things
up. :P

The only thing that speaks for MySQL is that is small, simple, and easy to
set up.
THAT is worth something, but really: It is not a very sophisticated DB.
And their licence is a little unclear to me. Not GPL.
No flame, or insult intented!
I just had to say this. ;-)

Regards,
Erwin Moller
Sep 26 '05 #7
Yes there is a phpMySQLAdmin fo PostGres
It's called phppgadmin (not an typo, but it is a bit of a bitch to
type).

Sep 26 '05 #8
On Mon, 26 Sep 2005 12:20:14 +0200, Erwin Moller
<si************ *************** *************** @spamyourself.c om> wrote:
Colin McKinnon wrote:
sm*****@gmail.c om wrote:
I've been thinking on this long and hard, and I can't seem to come up
with an answer on it.

Why is it almost always assumed the MySQL will be the server for nearly
any PHP app?

Why is it MySQL and not PostGRES or SQLite?

I've been using MySQL for some time - it works. I don't have enough
experience with Postgres to criticise it - indeed it is offered as GPL
without restrictions (a lot of people ignore the exceptions in the MySQL
license) which to my mind would make it more approriate. I will say that
MySQL has been the most reliable DBMS I've used, and easiest to manage
(compared with Oracle, MS-SQLserver, Progress and Pencil). (I'm not
wanting to start a flame war here - this is my experience - not
necessarily yours).

Is there an equivalent to phpMySQLAdmin for Postgres?

SQLite does not scale well.

C.


Hi,

I cannot restain myself, sorry.
But mySQL is the best db you ever saw?


Perhaps he meant best FREE db he ever saw? MySql works well for most
web apps. It's fast. It's free. Postgres is ok too. Lots of
postgres bigots out there. But if you're going to build an app based
on a free database, you'll choose the one that more people know about
and use. That'd be MySql right now.
Do you think it is better than Oracle?
Informix was better than oracle until IBM bought it to bury it.
Oracle has a better market share. That's why people use it.
Or MS SQLServer (one of the few good products BOUGHT by M$) ?

GOOD? Fool.

--
gburnore@databa six dot com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³ÝÛº ݳ޳ºÝ³Ý³Þ³ºÝ³Ý ÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³ÝÛº ݳ޳ºÝ³Ý³Þ³ºÝ³Ý ÝÛ³
DataBasix | ÝÛ³ºÝ³Þ³ºÝ³³ÝÛº ݳ޳ºÝ³Ý³Þ³ºÝ³Ý ÝÛ³
| ÝÛ³ 3 4 1 4 2 ݳ޳ 6 9 0 6 9 ÝÛ³
Black Helicopter Repair Svcs Division | Official Proof of Purchase
=============== =============== =============== =============== ===============
Want one? GET one! http://signup.databasix.com
=============== =============== =============== =============== ===============
Sep 26 '05 #9
On 26 Sep 2005 01:07:00 -0700, sm*****@gmail.c om wrote:
I've been thinking on this long and hard, and I can't seem to come up
with an answer on it.

Why is it almost always assumed the MySQL will be the server for nearly
any PHP app?

Why is it MySQL and not PostGRES or SQLite?

At this point the only reason I can think of is that MySQL has a much
more friendly name.

Facinating.
--
gburnore@databa six dot com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³ÝÛº ݳ޳ºÝ³Ý³Þ³ºÝ³Ý ÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³ÝÛº ݳ޳ºÝ³Ý³Þ³ºÝ³Ý ÝÛ³
DataBasix | ÝÛ³ºÝ³Þ³ºÝ³³ÝÛº ݳ޳ºÝ³Ý³Þ³ºÝ³Ý ÝÛ³
| ÝÛ³ 3 4 1 4 2 ݳ޳ 6 9 0 6 9 ÝÛ³
Black Helicopter Repair Svcs Division | Official Proof of Purchase
=============== =============== =============== =============== ===============
Want one? GET one! http://signup.databasix.com
=============== =============== =============== =============== ===============
Sep 26 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10284
by: francescomoi | last post by:
Hi. I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: ---------------------------------- # export PATH=$PATH:/usr/local/mysql/bin/ # export mysqlclient=mysqlclient_r # python setup.py clean # python setup.py build running build running build_py
4
1305
by: mikey | last post by:
Hi all, I'm having great problems trying to install the latest MySQl RPM package onto my Red Hat Linux OS. There is already MySQL v 3.0 pre-installed with the RH Linux distribution disk but I can not seem to get any of the functions working on it. So I have now dopwnloaded the latest version hoping that this will fix the error. I have managed to install the MySQL-shared-compat-4.0.1-0.i386.rpm but
0
1471
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but cpan>install DBD::mysql
0
3946
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest version of this document can be found at: http://prdownloads.sourceforge.net/souptonuts/README_mysql.txt?download
2
2364
by: Saqib Ali | last post by:
I installed mySQL and have it running.... but I think I made a mistake somewhere along the line...... I believe I did follow the instructions that were provided with the distribution at: http://dev.mysql.com/downloads/ The database is up. It seems that a test database instance has been created (named "test"). I can see it. However, the other database instance that should have been created, named "mysql" doesn't show up when I do "show...
1
3825
by: Alex Hunsley | last post by:
I am trying to install the DBD::mysql perl module. However, it claims I need mysql.h: cpan> install DBD::mysql CPAN: Storable loaded ok Going to read /home/alex/.cpan/Metadata Database was generated on Mon, 29 Nov 2004 16:01:05 GMT Running install for module DBD::mysql Running make for R/RU/RUDY/DBD-mysql-2.9004.tar.gz CPAN: Digest::MD5 loaded ok
0
1884
by: ./Rob & | last post by:
Hi gang: I'm experiencing a problem with MySQL -- I updated MySQL from version 4.1.0 to 4.1.10 and now when I login as root it doesn't show all the databases I should have access to, nor it doesn't recognize me being logged in as root (via CURRENT_USER().) Here it is, line-by-line. Inline comments are denoted by '//'
2
2905
by: trihanhcie | last post by:
I m currently working on a Unix server with a fedora 3 as an os My current version of mysql is 3.23.58. I'd like to upgrade the version to 5.0.18. After downloading from MYSQL.COM the package on the site, I made : rpm -i MySQL-server-5.0.18-0.i386.rpm then i have errors that relate to many conflicts. I cannot figure out why -and- cannot upgrade. Please Help !
1
3227
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: warning: MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 file /etc/my.cnf from install of MySQL-server-standard-5.0.24a-0.rhel3 conflicts with file from package mysql-3.23.58-1 file...
3
8830
by: menzies | last post by:
Hi, I"m new to this forum, but I have been trying all day to install DBD::mysql onto my Intel MacBook. I've read lots of forums pages and none have gotten me to a successful 'make test' or a successful 'sudo make install.' Before every attempt I even do a sudo make distclean to make sure I haven't gotten things mucked up from a prior attempt. OS: Mac OS X 10.4.10 MySQL: v5.0.41 for Mac OSX-i686 DBI: v1.58 (installed fine using CPAN)...
0
8838
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9396
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9342
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6808
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2226
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.