0

i am working in mysql. I need to find the database within which the a particular table is located. Is that possible in mysql?

Vivek S
  • 4,996
  • 8
  • 49
  • 71

2 Answers2

3
select table_name,table_schema
from information_schema.tables
where table_name = 'your_table'
Nicola Cossu
  • 52,276
  • 15
  • 91
  • 96
0

if you know wich database you have How to check if mysql database exists

or do you just want to search local for devleopement?

using heidisql or mysql workbench?

Community
  • 1
  • 1
Daniel Ruf
  • 7,359
  • 11
  • 61
  • 112