When I try click on the views radio button, then click the 'add' icon, I get the default view name, click ok, then get this error:
Error: ANY command denied to user 'dink@localhost' for table 'preferences'
Sorry to be such a bother, brother.
Tisn't a bother, my brother from another mother.
AHA, is the word of the day here, I missed the "New" button click...
Here's the code from that portion of the handler:
case 'view':
$sql = "CREATE VIEW $dbName.$newName AS SELECT * FROM phpmyide.preferences";
break;
When I create the "default" view, I have to "tie it" to something, so I assumed that since phpmyide would be installed (at least at the moment) we could build a view against that database and the preferences table simply so I can "save" the new default view code. See, I actually create a dummy view and save it, then open it and let you edit it. This was the best way to work through a variety of GUI issues.
So I started playing around and had a D'oh moment... I can just select "nothing."
Please try this and I'll implement it immediately (works for me here):
Line 208 of ajax.scriptexplorer.php says
$sql = "CREATE VIEW $dbName.$newName AS SELECT * from phpmyide.preferences";
change it to:
$sql = "CREATE VIEW $dbName.$newName AS SELECT 0";
It is the only "CREATE VIEW" line in that code, so there shouldn't be any easy way to screw this up.
Thanks!