Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm using Linux (Ubuntu) After create a database I create 2 users; John and Mark using two command: 1) INSERT INTO mysql.user (User,Host,authentication_string,ssl_cipher,x509_issuer,x509_subject)VALUES('john','localhost','password','','',''); 2) INSERT

I'm using Linux (Ubuntu) After create a database I create 2 users; John and Mark using two command:

1) INSERT INTO mysql.user (User,Host,authentication_string,ssl_cipher,x509_issuer,x509_subject)VALUES('john','localhost','password','','','');

2) INSERT INTO mysql.user (User,Host,authentication_string,ssl_cipher,x509_issuer,x509_subject)VALUES('mark','localhost',PASSWORD('password'),'','','');

my question: Is there any difference between how the authentication strings are stored for the 2 users? Which one is better, and why? Thank you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Internals A Deep Dive Into How Distributed Data Systems Work

Authors: Alex Petrov

1st Edition

1492040347, 978-1492040347

More Books

Students also viewed these Databases questions

Question

Analyse the process of new product of development.

Answered: 1 week ago

Question

Define Trade Mark.

Answered: 1 week ago