How stable is MySQL 5.4 - mysql

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

Related

MYSQL Backward compatible to 5.1.1?

I have a Wordpress site that was developed on a server running the latest version of MYSQL, however, I've just found out the host server (BT) is running 5.1.1. and they have no plans to upgrade anytime soon.
Does anyone know if there is a way of converting the database so it runs on 5.1.1 with no issues caused re the site being built in the latest version of Wordpress?
If this is a massive issue, then I do have some alternative hosting options, but I'm hoping for a way forward re conversion - any geniuses out there?
Many thanks
I doubt that BT is running MySQL 5.1.1. That version was never released. It was an internal development milestone in 2005.
The first GA release of the 5.1 branch was 5.1.30 in 2008. The last 5.1 release was 5.1.73 in 2013. But after 2013, 5.1 has been in "sustaining support" which means they will not make any new versions or fixes.
You shouldn't deploy to a hosting site that still runs any 5.1.x version. A site that is so far behind is probably behind on other software too, and I would not be surprised if they have known security vulnerabilities.
Wordpress officially requires MySQL 5.6 or later, according to https://wordpress.org/about/requirements/.
You could try to test that by testing on MySQL 5.1 (assuming you can find an installation package of MySQL 5.1). Use mysqldump to export data from your 5.6 database server and then import that to MySQL 5.1. The output of mysqldump wraps newer syntax in special comments that will be ignored by older versions of MySQL Server.
Regardless, my recommendation is:
Find another hosting service running MySQL 5.6 or 5.7.
Develop and test your site with the same versions of all software (MySQL, PHP, Apache, etc.) that you will eventually deploy to.

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/

What's the deal with the various MySQL versions?

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.

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.