Re: MDB2 listTableIndexes()
| From: | Lukas Kahwe Smith | Date: | Fri, 08 Sep 2006 17:46:04 +0000 |
| Subject: | Re: MDB2 listTableIndexes() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25088@lists.php.net to get a copy of this message | ||
Jeff Loiselle wrote:
Hello. Any ideas what this could be? It only gives an error when run from the CLI. It works fine on the web. Is there something wrong with my environment? $dbh = MDB2::connect($dsn); $dbh->loadModule('Manager'); $indexes = $dbh->manager->listTableIndexes('people'); print_r($indexes);do other queries work on the CLI? i have run into issues like that .. for example a client was unable to get oracle running reliable via the CLI on windows. i still do not know what the problem is exactly. keep in mind that the environment variables, user permissions will be entirely different on the CLI. regards, Lukas