Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

  • 11 months later...
Guest discoverlinux
Posted

I restored my mysql database on a new Linux OS install and got this error. To fix I ran

 

mysql_upgrade -uroot -p

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...