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
  • 5,384
  • 8
  • 51
  • 72

2 Answers2

3
select table_name,table_schema
from information_schema.tables
where table_name = 'your_table'
Nicola Cossu
  • 54,599
  • 15
  • 92
  • 98
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