corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » MySQL gurus


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author MySQL gurus
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
2nd Oct 13 at 07:12   View User's Profile U2U Member Reply With Quote

Im after some help if possible.
I have a critical web application which is currently running on MySQL 5.0
We have a few issues and have been advised that updating to the latest (5.6?) would be a good thing to do.

From what I've read, newer version of 5.x should be fine for the most part, but the newer versions are more sensitive to bad bracketing in join queries.

Is there an easy way for me to test my web application other than manually installing something like IIS/Apache, PHP and MySQL?

Im not familiar with setting any of that up and I don't really want to go through the rigmarole if there's an easier way

VrsTurbo
Premium Member

Registered: 8th Jun 10
User status: Offline
2nd Oct 13 at 08:19   View Garage View User's Profile U2U Member Reply With Quote

IIS & PHP is a lot easier now. Microsoft give you the option to install it from IIS.

Or you could install WAMP that has it all built in a copy the DB etc to the new instance and test that way. I would hope its just the one config in the web app to change the connection parameters
Nismo
Member

Registered: 12th Sep 02
User status: Offline
2nd Oct 13 at 08:22   View User's Profile U2U Member Reply With Quote

Yes the easy way is a package installer.

http://www.apachefriends.org/en/xampp.html

James
Member

Registered: 1st Jun 02
Location: Surrey
User status: Offline
2nd Oct 13 at 08:25   View User's Profile U2U Member Reply With Quote

Not really sure how brackets in queries can be interpreted in different ways
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
2nd Oct 13 at 10:52   View User's Profile U2U Member Reply With Quote

James, the comment passed back was;

quote:

The VDS is running quite an old MySQL version now (5.0) and newer MySQL versions are more efficient in all kinds of places, so the first suggestion I'd have is to update the version. Perhaps you could test it locally first though to see if it's a) worthwhile and b) compatible - although I've not seen any issues with moving from 5.0 to newer versions, with one exception - bad bracketing in join queries which 5.0 accepted but 5.1 does not.



Does it sound entirely possible?

Thanks for the link Nismo, I will probably give that a try.

[Edited on 02-10-2013 by Bart]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
2nd Oct 13 at 11:00   View Garage View User's Profile U2U Member Reply With Quote

quote:
Originally posted by James
Not really sure how brackets in queries can be interpreted in different ways


Syntax is stricter in later versions so they won't run if there's any ambiguity.
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
2nd Oct 13 at 14:06   View User's Profile U2U Member Reply With Quote

I will obviously test this, but what do you think the likely hood of there being a problem?
Dom
Member

Registered: 13th Sep 03
User status: Offline
2nd Oct 13 at 15:31   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Bart
I will obviously test this, but what do you think the likely hood of there being a problem?


Depends if the original developer did the queries correctly and that, no one knows. Unless the app is horrendously complicated then it shouldn't take too long to get it up an running under a test environment.
Bart
Member

Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
2nd Oct 13 at 20:13   View User's Profile U2U Member Reply With Quote

Thanks for the link Nismo, really is a piece of pish with that installer and just a one click to enable everything.


 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Linking .jsp pages to a MySQL database chris_lee100 Geek Day 7 1381
1st Feb 04 at 14:23
by Ian
 
forum hacking - SQL's Drew Geek Day 15 1696
9th Sep 04 at 23:50
by Ian
 
Server Help Jodi_the_g Geek Day 7 1430
19th Jan 06 at 15:18
by Jodi_the_g
 
My SQL-Nearly there! Tom J Geek Day 31 3132
25th Dec 06 at 23:32
by Ian
 

Corsa Sport » Message Board » Off Day » Geek Day » MySQL gurus 28 database queries in 0.0094750 seconds