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
div tags
Windows 7 - BSOD
How to add Order by in a SQL stored procedure
Getting bounce back messages when sending to internal domain users after moving to SBS 2008
Managing systems in a trusted domain from a single EPO server
Advanced DNS
Getting this warning in the system log "An error was detected on device \Device\Harddisk0 during a paging operation."
Cisco ASA-Routing traffic to particular subnets over IPSEC tunnel when traffic is not originated on the ASA.
Insert Array into mysql
Safari ems and pixels