beeky Posted August 4, 2009 Report Share Posted August 4, 2009 I have been following the killerphp videos which are excellent. I went to look at the privileges in MyPhpAdmin for the database I want to use and I get this error: Error SQL query: DocumentationEdit (SELECT `User`, `Host`, `Select_priv`, `Insert_priv`, `Update_priv`, `Delete_priv`, `Create_priv`, `Drop_priv`, `Grant_priv`, `Index_priv`, `Alter_priv`, `References_priv`, `Create_tmp_table_priv`, `Lock_tables_priv`, `Create_view_priv`, `Show_view_priv`, `Create_routine_priv`, `Alter_routine_priv`, `Execute_priv`, `Event_priv`, `Trigger_priv`, `Db` FROM `mysql`.`db` WHERE 'admin_bks' LIKE `Db` AND NOT (`Select_priv` = 'N' AND `Insert_priv` = 'N' AND `Update_priv` = 'N' AND `Delete_priv` = 'N' AND `Create_priv` = 'N' AND `Drop_priv` = 'N' AND `Grant_priv` = 'N' AND `References_priv` = 'N' AND `Create_tmp_table_priv` = 'N' AND `Lock_tables_priv` = 'N' AND `Create_view_priv` = 'N' AND `Show_view_priv` = 'N' AND `Create_routine_priv` = 'N' AND `Alter_routine_priv` = 'N' AND `Execute_priv` = 'N' AND `Event_priv` = 'N' AND `Trigger_priv` = 'N')) UNION (SELECT `User`, `Host`, `Select_priv`, `Insert_priv`, `Update_priv`, `Delete_priv`, `Create_priv`, `Drop_priv`, `Grant_priv`, `Index_priv`, `[...] MySQL said: Documentation #1054 - Unknown column 'Event_priv' in 'field list' Can anyone help or put me on the track to repair the problem Beeky Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 4, 2009 Report Share Posted August 4, 2009 Based on this: http://sourceforge.net/tracker/?func=detail&aid=2744353&group_id=23067&atid=377408 It looks like it may just be a bug with PHPMyAdmin, most likely that's fixed in a later version of the program. How recently did you install PhpMyAdmin? If this isn't something you absolutely need, you probably don't need to worry about the error. However, probably installing the most recent version of PHPMyAdmin (Or, I'm guessing you are using either XAMPP or WAMP) will fix it. Quote Link to comment Share on other sites More sharing options...
beeky Posted August 5, 2009 Author Report Share Posted August 5, 2009 I am actually using wampserver 2.0 version phpMyAdmin 3.1.3.1 which came as part of the wamp package. I notice the latest downoad for wamp has updated php,mysql and apache versions. If I download this new package will I lose the databases in the current version or how can I ensure they are safe. Sorry if this is a basic question but I am completely new to this area. Quote Link to comment Share on other sites More sharing options...
Guest discoverlinux Posted August 1, 2010 Report Share Posted August 1, 2010 I restored my mysql database on a new Linux OS install and got this error. To fix I ran mysql_upgrade -uroot -p Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.