* user warning: 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 variable_name IN ('character_set_database', 'character_set_results', 'coll' at line 1 query: SHOW VARIABLES WHERE variable_name IN ('character_set_database', 'character_set_results', 'collation_connection', 'collation_database', 'collation_server', 'have_dynamic_loading', 'have_innodb', 'have_isam', 'have_query_cache', 'have_raid', 'max_connections', 'query_cache_size', 'query_cache_type') in /opt/www/drupal-5.1.int.thatsbj.com/includes/database.mysql.inc on line 172.
* user warning: 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 variable_name IN ('Qcache_free_memory', 'Qcache_hits', 'Qcache_not_cached'' at line 1 query: SHOW STATUS WHERE variable_name IN ('Qcache_free_memory', 'Qcache_hits', 'Qcache_not_cached', 'Qcache_queries_in_cache', 'Max_used_connections', 'Threads_running', 'Threads_cached', 'Threads_connected', 'Threads_created') in /opt/www/drupal-5.1.int.thatsbj.com/includes/database.mysql.inc on line 172.
From my quick look at the MySQL docs page I don't see where it's possible to use a WHERE clause here. The examples mention using LIKE clauses....
Comments
Comment #1
nancydruHmm, it works fine on my site, and I know at least one other user who has used it with those new changes.
What version of MySql are you using?
Comment #2
nancydruComment #3
jaydub commented4.1.20
Comment #4
nancydruHmm, I'm using 5.something. I wonder what my servers are running.
Comment #5
nancydruOne of my live servers is on 4.1.22 and I see the same problem. Now to try to find out how, or what minimum level this works at.
Comment #6
nancydruOkay, I just committed a change. It should be available in a few hours. It makes some "ugly" queries, but it works on both 4.1.22 and 5.0.27.
Comment #7
nancydruFrom MySql manual for 3.23, 4.0, and 4.1
You might want to ask your host to move to a supported version... I did.
Comment #8
(not verified) commented