If I create a new table im not able to select something from it with PDO.
MySQL Workbench let me SELECT something and old tables are working well anyway, but as I said, I can’t SELECT something from new tables, with exactly the same setup (eg. InnoDB,UTF-8) than the old working ones.
Here one example errormessage from my log:
[Thu Oct 18 12:34:56 2012] [error] [client 12.345.678.90] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database.tablename' doesn't exist' in /var/www/project/file.php:928
Stack trace:
#0 /var/www/project/file.php(928): PDOStatement->execute(Array)
#1 /var/www/project/file.php(946): Interact->addSomething(Array)
#2 /var/www/project/index.php(22): Interact->handleAction(Array)
#3 {main}
thrown in /var/www/project/file.php on line 928, referer:
(12:34:56) user: http://user.domain.com/?longthingy=wakenmgwjakngpwjani
Has anyone made similar experiences or ideas how to solve this mess?
Were too dumb to recognize that I connected with mysql-administrator to our old server.