Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error #1018 MySQL when i create a new user

Tags:

php

I want to create a new user for MySql database but when I create a new user with phpmyadmin I get an error.

On executing the SQL query:

SHOW PLUGINS SONAME LIKE '%_PASSWORD_CHECK%'

I am getting the error:

#1018 - Can't read dir of 'C:\xampp\mysql\lib\plugin\' (errno: 2 "No such file or directory")

like image 406
Fasertio Avatar asked Feb 14 '17 21:02

Fasertio


1 Answers

This problem arises because the folder doesn't exist. You need to first create the folder C:\xampp\mysql\lib\plugin\, and then try to create the user again.

Regards, C.

like image 122
Cristobal Montenegro Avatar answered Sep 29 '22 06:09

Cristobal Montenegro