![]() ![]() Now, create user in MariaDB with whatever required privileges. You can simply install that plugin with command, MariaDB > INSTALL PLUGIN unix_socket SONAME 'auth_socket' Query OK, 0 rows affected (0.02 sec)Īfter, then you need to identify the user which you want to use to login into MariaDB. When we try to connect with OS user, it will retrieve uid of the process which has connected to the socket and allow it to connect to MariaDB with the same user. This plugin allows to use operating system user credentials while connecting to MariaDB via Unix socket. my.cnf) and still can login into MySQL/MariaDB without password ? I was also bit curious to know but finally I found very easy solution called “ unix_socket plugin” provided by MariaDB. What is the solution if I don’t want to give password in command line (i.e mysql -uroot -p ) OR don’t want to store password in files(in. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |