|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
version 5.0 is the current version -- PLEASE READ THIS IF YOU'RE NOT ON 4.1 YET
mysql version 4.1 has been in production status since october, 2004
if you're not on 4.1 yet, and you post a problem and wish to receive a solution involving sql, it is your responsibility to mention which version you're on otherwise, you might get a solution using sql that works only in 4.1 deal? ![]() |
|
#2
|
||||
|
||||
|
If you haven't upgraded, what are you waiting for?
Some benefits of 4.1 which may help you decide: Sub-Queries: SELECT * FROM table1 WHERE id1 IN (SELECT id2 FROM table2 WHERE name = 'simon'); More info Unicode Support: Fantastic! More info Prepared Statements: More info Show Warnings & Show Errors: now you can actually work out what those errors are! Better Security: Now with 40 byte password hashes instead of 16 byte Now just knowing the hash isn't enough to let a cracker in. --Simon ('cos old software is bad software)
__________________
|
|
#3
|
||||
|
||||
|
well, if we're going to list 4.1 features, i think one of the spiffiest is the GROUP_CONCAT function
![]() |
|
#4
|
|||
|
|||
|
My favorite is the unicode support and how it was implemented. I just can't understand why data types like NCHAR, NVARCHAR, etc. exist after I see how MySQL did it. I'm sure there are reasons, I just can't conceive them right now. Oh well.
Oh, and the subqueries are especially nice when you're migrating from one DBMS to MySQL.
__________________
blockcipher --------------- Gratuitously stolen... mysql> SELECT * FROM user WHERE clue > 0; 0 Results Returned. PHP5/MySQL/UTF-8 My Tech Blog |
|
#5
|
||||
|
||||
|
I like how easy it is to set character sets when creating tables. Made it very easy to add support for UTF-8, Shift_JS, Big5, etc to my program, so long as you also use the same character set for htmlentitites() (when using PHP, obviously).
---John Holmes... |
|
#6
|
|||
|
|||
|
Quote:
UTF-8 is super important for globalization. |
|
#7
|
||||
|
||||
|
I'm just terribly affraid to switch from 4.0.20d to 4.1.x...
It looks like they made quite some change about Timestamp field and I'm not sure my applications will support it. |
|
#8
|
||||
|
||||
|
5.0.15 is now the current version.
New feature list. How to upgrade from 4.1. Anyone done so yet? Problems? --Simon |
|
#9
|
||||
|
||||
|
thanks simon -- subject changed
![]() |
|
#10
|
|||
|
|||
|
Hi,
Now is available the MySQL 5.0 for production, this is a great news for mysql friends. Download Links http://dev.mysql.com/downloads/mysql/5.0.html MySQL 5.0 Features http://dev.mysql.com/doc/refman/5.0/en/mysql-5-0-nutshell.html Regards, |
|
#11
|
|||
|
|||
|
My main interest in version 5.0 is speed the improvements made to SELECT queries using OR.
Quote:
|
|
#12
|
|||
|
|||
|
Ive recently upgraded from Mysql 4.1 to 5, and found very little problems with the change. The only real problem i found was that i had the odd field that was named on a reserve word in 5 but not in 4.1, so some queries broke.
Other than that, make sure you back your data up and do a table check after the upgrade. Good luck Adam |
|
#13
|
|||
|
|||
|
I should note that MySQL recommends you dump and import your data when upgrading from 4.x to 5.0.
"MySQL recommends that you dump and reload your tables from any previous version to upgrade to 5.0." http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html So, simply dump all of your data with mysqldump from your old version. Perform your upgrade. Then, re-import your data into the new, upgraded version. mysql -u root -p < dumpfile.txt |