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

#1
[eluser]Unknown[/eluser]
Hi,

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?

Thanks

Marek

#2
[eluser]xwero[/eluser]
Maybe the user you added to your database.php config file is not granted to see other databases?

#3
[eluser]Unknown[/eluser]
User for mysql database is root, so I suppose ho could do everything Smile.

#4
[eluser]xwero[/eluser]
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-2019 MyBB Group.