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
BES - the setup application cannot find the required mapi libraries
Unique DC demotion situation
Can't Delete AS400 LIB Because of File/Member Error
Can a value from Vlookuop be used as a worksheet name to retrieve data
How do I find out IP and Protocol of MS SQL server
Playing Flash Videos on an iPad or an iPhone
How can I install Guest OS inside VMware ESX 4.0
Opening Attachments in Outlook
mondoarchive not writing to tape
Javascript function needs a tweak