This page is part of the BugReports series. Please go there to submit a new bug or to see the list of all existing reports.


Wrong MySql table name

ewiki version R1.02a+dev3
operating system Linux
database backend mysql
php version 4.3.x
bug category get running
status frozen

anonymous: I used the WebInstaller to create an ewiki, but when I go to index.php I get this at the top of the page.

"Table 'ewiki.ewiki' doesn't existTable 'ewiki.ewiki' doesn't existTable 'ewiki.ewiki' doesn't exist"

Also, nothing shows up when I edit a page, nor does anything show up initially on the FrontPage. My guess is it is having trouble accessing the MySql database because of a wrong name?

milky: When it talks about a database table called "ewiki.ewiki", then this means you have entered something wrong in the database name field there. Your web space provider typically only assigns you one database, which is often called "usr_web333_1" or so. Don't use "ewiki" here again, that's wrong unless you previously created a separate MySql database (a completely new separate data directory) by that name.

The MySql error message is totally misleading here, it should rather complain about the missing db data directory, instead of talking about the table. (The ewiki table would always be created automatically for you).

Anonymous: Anonymous: I use http://system.freepgs.com/ , which allows you to create as many MySql databases as you need. I have 2 databases under one username there (one for the wiki, one for phpbb). And it lets you use whatever name you want for the databases. For the wiki I used ewiki... Is there any way I can find out with *PhpMyAdmin whether there is some prefix attached to it for recognition of different users? Or would it already show it?

bottom corner