On Tue, Feb 25, 2003 at 02:00:34PM +0100, Olivier M. wrote:
What about an automatic check on root login ?
No, rather than root login, check that the user they logged in as has permissions to the tables required, or create table if the tables don't exist. This is because a lot of users only have a small setup from an ISP with their own copy of PMA.
See RFE #486080, #577328, #601016...
if all the tables are existing & uptodate -> work as usual
if some tables are outdated: display a kind of splash-screen suggesting the required changes, with an "Upgrade" button which fixes everything
and if there are no tables at all (bookmarks, relations, etc): allow the root user to create everything "on the fly" (text fields asking for User/DB name to use), and which display a part of code to copy paste for the config.inc.php file (a little bit like phpMyEdit).
so a kind of user-friendly "setup.php" :)