Jacob Tomlinson 5/31/2013

Why is there no space in the MySQL password parameter?

Read Original

This article analyzes the MySQL command-line behavior where the password parameter (-p) cannot have a space before the password value, unlike other parameters. It explains the official reasoning: because the password is optional and the program prompts for it if omitted, allowing a space would create ambiguity for parsing subsequent arguments.

Why is there no space in the MySQL password parameter?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week