mysql_install_db doesn't work with blanks in either basedir or datadir path

Description

Trying to invoke mysql_install_db with --basedir or --datadir with blanks in the given path causes several script errors ...

See also http://bugs.mysql.com/bug.php?id=56901

Environment

linux

Status

Assignee

Sergei Golubchik

Reporter

Hartmut Holzgraefe

Labels

None

External issue ID

None

External issue ID

None

Fix versions

Affects versions

5.3.8
5.5.27
5.1.62
5.2.12

Priority

Major
Configure