Public bug reported:
The mysqld_install_db script fails if extra arguments are passed. I
suspect this is an upstream bug.
Steps to reproduce:
1. Try to make a new database, for example using the following command line:
/usr/bin/mysql_install_db --no-defaults --bind-address=127.0.0.1
--character-set-server=utf8 --console --datadir=/tmp/mysqlfoo.db
--port=3307 --log=/tmp/mysqlfoo.log --socket=/tmp/mysqlfoo.socket
Expected results:
1. Database created in /tmp/mysqlfoo.db, no errors
Actual results:
1. mysql_install_db script fails with:
Installing MySQL system tables...
070418 13:49:41 [ERROR] /usr/sbin/mysqld: unknown variable
'bind-address\=127.0.0.1'
Installation of system tables failed!
The reason is that in the past, this script had to double-quote the args that
it was passed, because it then invoked mysqld inside a bash "eval" statement.
Now it has been restructured; I am not sure how long it has been since the
change, perhaps a month or two. Tough to tell because I can't make any sense of
mysql.org. Will work on a fix.
** Affects: mysql-dfsg-5.0 (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
mysql_install_db incorrectly quotes arguments
https://bugs.launchpad.net/bugs/107466
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs