Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

SELECT ALL FROM bogus_table LIMIT 0 (no replies)

$
0
0
I'm not a developer but a system administrator,

I found this query `SELECT * FROM bogus_table LIMIT 0\G` in the MySQL-slow-query.log in the production server.

I asked the developer about this query and he has no idea where this query coming from.

Thank to this [post][1] i assume that `SELECT * FROM bogus_table LIMIT 0\G` is to clear the kill flag which mean this query will be trigger afterward if the previous query return an error. - please correct me if i'm wrong.

So here my question: How do i find/trace what query that running is triggering this query `SELECT * FROM bogus_table LIMIT 0\G` to be executed afterward (Based on my above assumption) ?

Thank you.

[1]: https://stackoverflow.com/questions/50407365/mysql-data-mysqlclient-mysqlexception-0x80004005-select-command-denied-to-use

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>