Find Jobs
Hire Freelancers

Make 5 php / mysql Queries sql 5.7 Compatible

$10-30 AUD

Completed
Posted over 5 years ago

$10-30 AUD

Paid on delivery
We upgraded mysql to 5.7 and we are getting a few SQL call errors in our PHP script. Here is an example of one of the errors which we need fixed. we expect there to be 5 or so that need fixing, We have traced it back to this "In mysql 5.7 it is required to have the order by fields to be present in the select statement when using DISTINCT" Expression #1 of ORDER BY clause is not in SELECT list, references column '[login to view URL]' which is not in SELECT list; this is incompatible with DISTINCT SELECT p.*, FLOOR(prodratingtotal / prodnumratings) AS prodavgrating, pi.*, (SELECT discountpercent FROM isc_customer_group_discounts disc WHERE disc.discounttype='PRODUCT' AND disc.customergroupid='2' AND disc.catorprodid=[login to view URL]) AS prodgroupdiscount, (SELECT discountmethod FROM isc_customer_group_discounts disc WHERE disc.discounttype='PRODUCT' AND disc.customergroupid='2' AND disc.catorprodid=[login to view URL]) AS discountmethod FROM ( SELECT DISTINCT [login to view URL], FLOOR(prodratingtotal / prodnumratings) AS prodavgrating FROM isc_categoryassociations ca INNER JOIN isc_products p ON [login to view URL] = [login to view URL] WHERE p.prodvisible=1 AND [login to view URL] IN (159) ORDER BY [login to view URL] asc, [login to view URL] ASC LIMIT 0, 15 ) AS ca INNER JOIN isc_products p ON [login to view URL] = [login to view URL] LEFT JOIN isc_product_images pi ON ([login to view URL] = 1 AND [login to view URL] = [login to view URL]) Location: /public_html/includes/classes/[login to view URL] (Line 728)
Project ID: 17621543

About the project

11 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, I have experience in writing optimized mysql query. I have worked on both 5.5. and 5.7 and fully understands differences. Please provide details. Thankyou
$20 AUD in 1 day
4.9 (39 reviews)
5.1
5.1
11 freelancers are bidding on average $26 AUD for this job
User Avatar
Hello, i am ready to fix this issue, this happens after up-gradation of PHP ver and Mysql. I have done similar update for an earlier project and confident to update the site issue to your satisfaction. Please open message board for further discussion and provide the cpanel/ftp/Phpmyadmin details. Thanks Ramesh
$30 AUD in 1 day
4.8 (105 reviews)
6.6
6.6
User Avatar
Hello, I'm interested in your project very well I'm good in SOLVING DATABASE QUERY’s. I’m quite well experienced in these kinds of jobs. Let's go ahead with me I want to service for you continuously. Now I am free, so I will start the work in your project immediately. Thanks
$30 AUD in 1 day
4.8 (56 reviews)
5.8
5.8
User Avatar
Hello Sir, I have read your job description regarding Make 5 php / mysql Queries sql 5.7 Compatible. I have 6+ year of experience in HTML, MySQL, PHP, Software Architecture, SQL. I have strong expertise to accomplish this project in decided time frame. Lets discuss in detail so that we never skip basic thing during project implementation. Thanks & Regards
$25 AUD in 1 day
4.9 (26 reviews)
4.8
4.8
User Avatar
hey i can do it
$15 AUD in 1 day
5.0 (16 reviews)
2.8
2.8

About the client

Flag of AUSTRALIA
Bolwarra Hts, Australia
4.9
26
Payment method verified
Member since Sep 2, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.