A
A
Anonymous2016-01-20 03:12:46
linux
Anonymous, 2016-01-20 03:12:46

How to fix error in MySQL under Ubuntu 14.04?

Hello.
Installed MySQL server and client on Ubuntu. I log in as root in MySQL, I try to create a new user using the command: grant all privileges on *.* to 'lrngsql '@' localhost' identified by 'PASSWORD';
As a result, I catch an error: ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
How to solve this problem?

mysql Ver 14.14 Distrib 5.5.46, for debian-linux-gnu (x86_64) using readline 6.3

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2016-01-20
@opium

Restart mysql it looks like you have booted with your option to reset password or login without password.
In general, in your story you lied somewhere

S
SagePtr, 2016-01-20
@SagePtr

Do not start server with --skip-grant-tables option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question