zlacker

[parent] [thread] 8 comments
1. hodges+(OP)[view] [source] 2023-04-26 23:38:44
> A non-trivial component to MySQL popularity was that easy installation

...Along with replication and being joined with the hip to PHP. As to installation, there was a point in time in the early 2000s where you could sudo to root, type 'mysql' and be talking to a live MySQL on most Linux distros that I used. No wonder a lot of people defaulted to it.

replies(2): >>p_l+c3 >>Exotic+Xi2
2. p_l+c3[view] [source] 2023-04-27 00:05:51
>>hodges+(OP)
Replication came later - but the fact that you could do

  sudo apt-get install mysql-server mysql-client
  sudo -i mysql
and be logged in as admin into mysql database was indeed a huge reason for defaulting to it.

EDIT: Of course, at that time, there was no Ubuntu teaching everyone to sudo all the time, so drop all instances of sudo and add a su - at start ;)

replies(3): >>tomnip+T9 >>maskli+DB >>porker+KE
◧◩
3. tomnip+T9[view] [source] [discussion] 2023-04-27 01:09:28
>>p_l+c3
MySQL has had replication since May 2000.
replies(1): >>p_l+jc
◧◩◪
4. p_l+jc[view] [source] [discussion] 2023-04-27 01:31:53
>>tomnip+T9
Replication being easier as driver for developers defaulting to MySQL
◧◩
5. maskli+DB[view] [source] [discussion] 2023-04-27 05:41:41
>>p_l+c3
Mysql also came with pretty much any webhost.
replies(1): >>p_l+Z61
◧◩
6. porker+KE[view] [source] [discussion] 2023-04-27 06:13:20
>>p_l+c3
> Of course, at that time, there was no Ubuntu teaching everyone to sudo all the time

Maybe that's why I am used to logging in as root rather than a user. I started in 1999 and have been surprised how few users now do

replies(1): >>flumpc+cO
◧◩◪
7. flumpc+cO[view] [source] [discussion] 2023-04-27 07:33:16
>>porker+KE
Most prod configs I've seen now days disable SSH-ing in as root and password auth so it just becomes:

$ ssh user@server <rsa key> $ sudo -i <user pass> #

◧◩◪
8. p_l+Z61[view] [source] [discussion] 2023-04-27 09:53:20
>>maskli+DB
That's exactly my point. A lot of people started with dynamic websites by using cheap webhosting that you FTP'ed your PHP files to, and used PhpMyAdmin to manage your smallish database, and 2000-2009 they still formed a strong portion of market for starting out (I chose 2009 because that's when EC2 becomes more accessible for this due to RDS)
9. Exotic+Xi2[view] [source] 2023-04-27 16:10:42
>>hodges+(OP)
Yes, replication. MySQL made it dead easy to have DB clusters in minutes.

I'd wish PostgreSQL would have as simple when it comes to replication and failover like MySQL does. It's always a pain when switching masters back and forth.

[go to top]