[Mediawiki-l] [OT] Create user accessing MySQL DB

Rob Church robchur at gmail.com
Fri May 11 16:34:08 UTC 2007

On 11/05/07, Alex Powell <alexp at exscien.com> wrote:
> If you typed that exactly, your password should be "passwd", not wikiDB1...

I love the MySQL command line client.

`$ mysql -u wikiDB1user -p wikiDB1`

This reads as

* start the MySQL command line client
* my username is wikiDB1user
* prompt me for my password
* select wikiDB1

The -p switch confuses a lot of people. To specify the password on the
command line, you do something like `-ppassword`, i.e. no space. If
the switch is specified as-is, without anything immediately following
it, then it causes the client to prompt for the password.

Rob Church

More information about the MediaWiki-l mailing list