Microsoft
Software
Hardware
Network
Question : SQL QUestion
We are moving a website from one server to another and the SQL version are different. We are getting an error
Error listing old tables: 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 'WHERE Name LIKE 'Members_tmp_%' AND Create_time < NOW() - INTERVAL 1 ' at line 2
This is the line that has that..
$result = mysql_query(
"SHOW TABLE STATUS
WHERE Name LIKE '{$table_prefix}%' AND
Create_time < NOW() - INTERVAL 1 HOUR");
Any idea what needs to be changed?
Answer : SQL QUestion
From which to which version are you moving?
check the documentation for "SHOW TABLE STATUS" here:
http://dev.mysql.com/doc/r
efman/5.0/
en/show-ta
ble-
status
.html
Random Solutions
Function returning Type Mismatch error
How to prevent data loss?
Creating a naviagation bar across access forms (similar to dropdown menus on websites)
Date Field = ' '
Moving From The 3GS to 4G
Locale problem in Java program that I implemented. How to fix?
Install windows server 2008 DVD on dell PE 2950 that has only a CD-Rom?
How can I center my table in relation to the width of my defined body-width in XHTML 1.0 Transitional?
virtualize a fileserver?
BIOS update from 02 to 09 in Dell Precision 380