MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.

Learn More!


Download to Enter
| Contest Rules

Tutorials | Forums

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 19th, 2005, 01:10 PM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 25,046 r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 2 Days 22 h 44 sec
Reputation Power: 3829
version 5.5 is the current version -- PLEASE READ THIS IF YOU'RE NOT ON 5.0 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?



EDIT: we've updated the thread to reflect that 5.5 is current, and you shouldn't post a question without mentioning your version if your version is below 5.0
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book

Last edited by r937 : September 27th, 2011 at 07:34 AM.

Reply With Quote
  #2  
Old February 21st, 2005, 04:25 AM
SimonGreenhill's Avatar
SimonGreenhill SimonGreenhill is offline
(retired)
Dev Shed God 11th Plane (10000 - 10499 posts)
 
Join Date: Dec 2003
Location: The Laboratory
Posts: 10,101 SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 4925 Folding Title: Novice Folder
Time spent in forums: 3 Months 3 Weeks 6 h 8 m 34 sec
Reputation Power: 0
Facebook
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)

Reply With Quote
  #3  
Old February 21st, 2005, 06:28 AM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 25,046 r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 2 Days 22 h 44 sec
Reputation Power: 3829
well, if we're going to list 4.1 features, i think one of the spiffiest is the GROUP_CONCAT function


Reply With Quote
  #4  
Old February 22nd, 2005, 09:13 AM
blockcipher blockcipher is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2003
Posts: 704 blockcipher User rank is Sergeant Major (2000 - 5000 Reputation Level)blockcipher User rank is Sergeant Major (2000 - 5000 Reputation Level)blockcipher User rank is Sergeant Major (2000 - 5000 Reputation Level)blockcipher User rank is Sergeant Major (2000 - 5000 Reputation Level)blockcipher User rank is Sergeant Major (2000 - 5000 Reputation Level)blockcipher User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 8 h 36 m 26 sec
Reputation Power: 59
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

Reply With Quote
  #5  
Old June 21st, 2005, 12:15 AM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 1999
Location: Kentucky
Posts: 14,557 Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)Sepodati User rank is General 46th Grade (Above 100000 Reputation Level)  Folding Points: 97169 Folding Title: Advanced FolderFolding Points: 97169 Folding Title: Advanced FolderFolding Points: 97169 Folding Title: Advanced FolderFolding Points: 97169 Folding Title: Advanced FolderFolding Points: 97169 Folding Title: Advanced Folder
Time spent in forums: 3 Months 5 Days 6 h 4 m 31 sec
Reputation Power: 4042
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
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...

Reply With Quote
  #6  
Old June 21st, 2005, 12:37 AM
ShytK ShytK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 154 ShytK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 18 h 32 m 24 sec
Reputation Power: 8
Quote:
Originally Posted by Sepodati
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...


UTF-8 is super important for globalization.

Reply With Quote
  #7  
Old July 1st, 2005, 07:49 AM
tiguy4755's Avatar
tiguy4755 tiguy4755 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Montréal
Posts: 147 tiguy4755 User rank is Sergeant (500 - 2000 Reputation Level)tiguy4755 User rank is Sergeant (500 - 2000 Reputation Level)tiguy4755 User rank is Sergeant (500 - 2000 Reputation Level)tiguy4755 User rank is Sergeant (500 - 2000 Reputation Level)tiguy4755 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 2 h 30 m 8 sec
Reputation Power: 17
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.

Reply With Quote
  #8  
Old October 24th, 2005, 04:45 PM
SimonGreenhill's Avatar
SimonGreenhill SimonGreenhill is offline
(retired)
Dev Shed God 11th Plane (10000 - 10499 posts)
 
Join Date: Dec 2003
Location: The Laboratory
Posts: 10,101 SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 4925 Folding Title: Novice Folder
Time spent in forums: 3 Months 3 Weeks 6 h 8 m 34 sec
Reputation Power: 0
Facebook

Reply With Quote
  #9  
Old October 24th, 2005, 04:53 PM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 25,046 r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level)r937 User rank is General 42nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 2 Days 22 h 44 sec
Reputation Power: 3829
thanks simon -- subject changed

Reply With Quote
  #10  
Old October 28th, 2005, 01:24 PM
expert-database expert-database is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 37 expert-database Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 6 h 57 m 18 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Lightbulb Now MySQL 5.0 production release available !!!

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,

Reply With Quote
  #11  
Old October 31st, 2005, 03:10 PM
bauhsoj bauhsoj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 276 bauhsoj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 35 m 58 sec
Reputation Power: 7
My main interest in version 5.0 is speed the improvements made to SELECT queries using OR.

Quote:
No matter which index MySQL selects, it has to perform a full table scan to satisfy the other condition. Queries using OR conditions prevent MySQL from easily eliminating candidate rows. So rather than use one index to find some of the rows and then perform the table scan, MySQL decides that it's faster to simply use a table scan. This is slated to be fixed in MySQL 5.0.
- O'Reilly High Performance MySQL

Reply With Quote
  #12  
Old April 25th, 2006, 01:53 PM
axc97c axc97c is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 3 axc97c User rank is Lance Corporal (50 - 100 Reputation Level)axc97c User rank is Lance Corporal (50 - 100 Reputation Level)axc97c User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 h 25 sec
Reputation Power: 0
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
Comments on this post
r937 agrees: thanks for the great feedback and advice

Reply With Quote
  #13  
Old February 9th, 2007, 11:53 PM
ccalender ccalender is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Posts: 332 ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 16 h 12 m 50 sec
Reputation Power: 39
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

Reply With Quote
  #14  
Old April 26th, 2007, 01:51 AM
helloakash's Avatar
helloakash helloakash is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2006
Location: India
Posts: 855 helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)helloakash User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 15001 Folding Title: Novice Folder
Time spent in forums: 2 Weeks 2 Days 8 h 26 m 4 sec
Reputation Power: 546
Send a message via Google Talk to helloakash Send a message via Skype to helloakash
Orkut
The latest version available now is MySql 5.2.3 . Subject may be altered, if needed.
__________________
Akash Dwivedi
"Whatever the mind can conceive and believe, the mind can achieve."
Feel good..



Reply With Quote
  #15  
Old May 19th, 2007, 07:40 PM
ccalender ccalender is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Posts: 332 ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level)ccalender User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 16 h 12 m 50 sec
Reputation Power: 39
Note that the above (5.2.x) and 5.1.x, are still Beta and are not recommended for Production use. For production, you should use the latest stable release of 5.0, which for the community is 5.0.41:

http://dev.mysql.com/downloads/mysql/5.0.html

(as of May 19, 2007)

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > version 5.5 is the current version -- PLEASE READ THIS IF YOU'RE NOT ON 5.0 YET


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap