D
D
Danil2017-10-17 17:43:55
MySQL
Danil, 2017-10-17 17:43:55

Do I need additional rights to connect to mysql?

There is ubuntu14.04 it has mysql server installed, all default settings. I want to create a user in ubuntu and I need him to have access to mysql (in mysql he knows login/password). Question: will I need to additionally configure something or will it be able to do it automatically after creation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zooks, 2017-10-17
@zooks

You need to create a user in MySQL and give him rights to a specific database: https://dev.mysql.com/doc/refman/5.7/en/grant.html

A
AVKor, 2017-10-17
@AVKor

After creating and restarting the server orFLUSH PRIVILEGES;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question