Questions tagged [mysql-console]

2 questions
31
votes
5 answers

MySQL console: Ctrl+C driving me nuts

There is something in the MySQL console that drives me nuts. When I hit ctrl+c to cancel the current command being typed, the terminal exits. In every terminal I know (*nix terminals, Python, PostgreSQL), ctrl+c cancels the current command and…
Adam Matan
  • 12,079
  • 30
  • 82
  • 96
3
votes
1 answer

Find which numbers in [1, 161] are not in the result set?

How to find which two number in [1, 161] is not in the result set? Can I find this two numbers using sql command? mysql> select blog_id from wp_blogs; ... | 149 | | 150 | | 151 | | 152 | | 153 | | 154 | | 155 | | …
hugemeow
  • 159
  • 1
  • 5