mysql - Access denied for 'root'@'%' when loading files from my computer -


i've logged in , accessed database , can insert data manually newly created table when try load .csv file desktop error: "access denied user 'root'@'%' (using password: yes)

i'm assuming means don't have access own files or something? stuck.

keep in mind user root@% different user root@localhost. i'm assuming accessing server locally, trying gain access desktop machine.

you need grant access desktop machine using grant command.

i.e.

grant on * . * 'root'@'%' identified 'password'


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -