Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB