What's the deal with the various MySQL versions? - mysql

I haven't been paying attention for a while, but I just checked and the latest release of MySQL is at 5.5.
I always use what the vendor of whatever OS I'm using provides, which has been 5.0 or 5.1 for the last couple years.
This page lists two community versions, 5.1 and 5.5: http://dev.mysql.com/
There is documentation for 5.0, 5.1, 5.4, 5.5: http://dev.mysql.com/doc/refman/5.0/en/insert-select.html
So:
What happened to 5.2, and 5.3?
Why do all distros, even the newest Ubuntu which is not considered to be particularly conservative, only ship with 5.0 and 5.1?

dev.mysql.com is the DEVELOPMENT stream - both the community and enterprise listings are 5.1.
That's why there's no 5.2 or 5.3 - 5.5 hasn't been released (to public, anyways). But version numbers are semantic - marketing will muck with them for sake of better presentation.

5.1 is the latest GA version, others (5.4, 5.5, whatever other number they're using) are not considered ready for production use. Therefore the distros won't ship it, in particular because they might include features which subsequently get dropped, and your app might then depend on them (MySQL don't guarantee continued support of features not yet present in any GA version).
I would suggest always using Sun/Oracle binaries rather than Linux distribution ones, as they will not include dodgy vendor patches, which history suggests do not always improve software.

Related

Joomla 3.8 compatablity with MYSQL 5.6 , 5.7 and 8

I currently have setup Joomla 3.9.3 on production with MYSQL 5.5.62, i would like to upgrade to 5.7 or 8.
Is joomla 3.9.x Compatible with MySQL 5.6, 5.7, 8. The official documentation states that joomla works with 5.5.X+. Though this may imply supporting of 5.6, but wonder why they have stated their support on a minor version rather than a major one like 5.5+
Just need a confirmation on the same and any official supporting documents if available
We've had a Joomla v3.9.4 site running on MySQL 5.7.25 for several months and all has been good. No issues with Joomla or the extensions we're running that I've noticed.
Good luck!

Minimal requirements for Apache and MySQL for Symfony 2.8

Symfony 2.8 requires PHP version to be at least 5.3.9, however nothing is mentioned regarding Apache and MySQL versions in the documentation. What are the minimal requirements for them?
Apache and MySQL version are not exactly relevant there: Apache acts merely as a caller to PHP (in the most common mod_php stack), so it does not interact directly with Symfony. Plus Apache release cycles tend to be longer (2.2 from 2005 is still around).
Regarding MySQL, it concerns Doctrine exactly, especially the DBAL - Database Abstraction Layer. Doctrine platforms documentation does not state much about it, we can infer it supports MySQL 5.0+.
Of course, the higher you can go is the better. PHP 5.3 is not supported anymore, nor PHP 5.4 or PHP 5.5 (security bugs supports stopped last week). Apache 2.2 you need the very last "patch" version. MySQL dramatically improved in 5.5+.
If nothing is mentionned in the documentation,then it means any version can be used most of the time.
I think you should simple use the latest version available in your distributions's repository.

What version of MySQL should I use for a CRM?

I've read through a number of pages detailing the version differences between the different MySQL versions, but none of them have given me a real clear picture as to what is best for the application I am making. I'm in the process of building a CRM which will handle 20,000 customers at launch and built on a LAMP stack. The OS will either be CentOS or FreeBSD.
Right now for test purposes we've been using a MySQL 5.0 server for the database, but we are wondering which version we should use for production. If anyone could give some thoughts as to the pros and cons of using 5.0 vs 5.1 vs 5.5 vs 5.6 in the context of a CRM application, it would be most appreciated.
TL;DR 5.5
For a new software rollout, it makes sense to integrate and do final testing with the latest generally available (GA) release of your infrastructure components.
Right now that's 5.5.20 of the MySQL community server. 5.6.x is considered a development release. It probably doesn't make sense for you to try to do integration and final testing with such a release, unless it offers a new feature that's a critical success factor for your new software. (But then you should ask yourself whether it makes sense to make your product dependent on exotic new features in unfinished dbms releases.)
EDIT... #rkosegi has a good point. If you're going to deploy on an enterprise grade linux server distro like Red Hat Enterprise Linux (rhel) use the version it supports. 5.1 works fine.
I think better you should use v5.1.XX because it's in active development state and stable too.
MySQL has stopped working on v5.0 i guess extend support also will expire soon.
http://dev.mysql.com/doc/refman/5.0/en/

How stable is MySQL 5.4

I have just found out about MySql 5.4 –
How stable is this version?
Where can I find more information on this version?
MySQL 5.4 is a preview/test release, first one under Oracle. As a test release is not intend to be used on a production stations.
They say that the most important change in 5.4 was to introduce MySQL Optimizer which makes some of the queries run 90% faster.
Oracle wants to release MySQL more often and be more open for community ideas and use more community code.
5.4 is officially a preview release, so not officially recommended for production yet. However, I do know of quite a few larger websites that are using it in production thanks to the terrific gains in performance.
As far as more information:
http://dev.mysql.com/doc/mysql-5.4-features/en/index.html
http://dev.mysql.com/doc/refman/5.4/en/news-5-4-0.html
http://dev.mysql.com/tech-resources/articles/mysql-54.html

Should I use MySQL 6.0 for my large project?

MySQL 6.0 is for production. Can I use it for database storage of a large project?
MySQL 5.1 is the latest stable version, I'd recommend sticking with that. 6.0 will be quite unstable at this point.
EDIT as of 2011-05-26 MySQL 5.5.12 is the latest stable version. See this link for the lastest stable version: http://dev.mysql.com/downloads/
MySQL 6.0 in this moment is a alpha version, so I suggest you to use the current stable release -> MySQL 5.1
Here you can find some info about the table size limit depending on operating System. MySQL has not internal limit.
Only if there are critical enhancements that your site requires. And even then I'd hold back and use workarounds until it at least gets to beta.
We tried to use the latest PHP and MySQL 5.1 with failure on an IIS7 machine. I am sure if you download the source of PHP and compile it, it would have support for 5.1, but out of the box it seems to support 5.0. So, we replaced 5.1 with 5.0 and everything worked flawlessly.
Short story is use what works well. I would try it in development and avoid it in production until everything works well.