What does mysql -u root -p do? -


i trying figure out mysql -u root -p command does.

i have googled command can't find results.

mysql -u root -p means, trying connect mysql shell parameters - -u parameter specified mysql user name.

-u, --user=name user login if not current user.

in case it's root user.

-p, --password[=name] password use when connecting server. if password not given it's asked tty.

you can type mysql --help command line more information available parameters.

good luck.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -