It's a bash script, you need to run sudo bash
/usr/share/doc/wordpress/examples/setup-mysql localhost
** Changed in: wordpress (Ubuntu)
Status: New = Invalid
--
setup-mysql fails with Bad substitution on checkforexistingsetup
https://bugs.launchpad.net/bugs/335299
You received this bug
I also get this error when running sudo sh
/usr/share/doc/wordpress/examples/setup-mysql localhost.
--
setup-mysql fails with Bad substitution on checkforexistingsetup
https://bugs.launchpad.net/bugs/335299
You received this bug notification because you are a member of Ubuntu
Bugs, which is