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 - Knockout pushing observable and computed data to an observable array -

Trouble making a JSON string -

sitecore - Resolve ISitecoreService using SimpleInjector -