mysql man pages options apearing with question marks

rkheik asked:

In the man pages of mysql(mysql, mysqladmin) the options appears with ‘?’ instead of ‘-a, -p, etc’, other commands are not affected

Centos 6.4 min install

My answer:

Your locale isn’t set correctly on your local workstation. It’s defaulting to the “C” locale.

Since you didn’t provide any details about the workstation, it’s hard to give specific advice on correcting it, though if you’re using a GUI you can usually set the locale on the login screen by choosing a language (other than “Default”).

It’s also possible your workstation doesn’t have any locales installed at all, which is usually how systems end up using the default “C” locale. Consult your operating system distribution’s documentation to learn how to install locales.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.