Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MySQL error


explorerii1979

Recommended Posts

Hi all,

 

Orders Order ID:

Status: All OrdersDeliveredPendingProcessing

 

 

Customers Order Total Date Purchased Status Action

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1

 

select o.orders_id, o.customers_name, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total' order by o.orders_id DESC limit -20, 20

 

[TEP STOP]

 

 

please go here to visit the capture screen, I am using PHP 4.4.0 + IIS 6.0 + MySQL 4.1.14, with the OLD_PASSWORD setting following by the MySQL official web site

 

http://test.wusogorphoto.net/kei/error001.jpg

 

But I had test on other server, just it is using PHP 4.4.0 + IIS 6.0 + MySQL 4.0.25, haven't see this error, what is wrong on my setting??? Or just osCommerce can run on MySQL 4.1.x?

 

Since I am newbiew on database, I thinking MySQL 4.1.x is newer, with the MySQL Administrator Tool for GUI management is easy, just MySQL 4.0 with MySQL Administrator Tool will lost some feture and what I can management too.

 

using command line is hard to understand how to backup the all database and table, and if system failed, hard to rebuild from command line, I am afraid on it

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...