• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
database SHOW TABLES


I would like to add an functionality to dbutils for showing all tables for selected database. I'm trying to use similar like in list_databases() function. Data retreived was not contain tables for database. If I try in (SHOW TABLES FROM database_name) phpmyadmin it works properly. Any idea?



Maybe the user you added to your database.php config file is not granted to see other databases?

User for mysql database is root, so I suppose ho could do everything Smile.

you can use db->list_tables, i did't read your post right the first time.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.