osx - MySQL Errors, Active Connection, Denied Access, No privileges -


mysql> select user(),current_user();  | user()          | current_user() | apple@localhost | @localhost     |1 row in set (0.00 sec)  mysql> show grants 'apple'@'localhost'; 

error 1044 (42000): access denied user ''@'localhost' database 'mysql'

-------------------- connection: name: local host: localhost (unix socket) server: mysql community server (gpl) version: 5.6.16 login user: apple current user: @localhost 

an unhandled exception occurred (error executing 'select processlist_id,if (name = 'thread/sql/event_scheduler','event_scheduler',processlist_user) processlist_user,processlist_host,processlist_db,processlist_command,processlist_time,processlist_state,thread_id,type,name,parent_thread_id,instrumented,processlist_info performance_schema.threads type <> 'background'' select command denied user ''@'localhost' table 'threads'. sql error: 1142). please refer log files details.

i unable access database functions, receiving denial errors whenever attempt action. brand new installation , new mysql, have looked other questions yet haven't found example of being denied.

did try login mysql root? can using command in terminal:

shell> mysql --user=user_name --password=your_password db_name 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -