When trying to follow the guide, the following option returns an error: # mysql -u root -p --opt mailsql < genericmailsql.sql mysql: unrecognized option `--opt' If i remove one of the dashes it stops complaining, but as i'm totaly MySQL n00b i tend to get lost when i can't just follow the guide i'm reading. Dunno the importance of this minor mistake, but i'm getting stuck for a good word recently.. ;o/ Reproducible: Always Steps to Reproduce: 1. emerge mysql 2. mysql_install_db [Which btw doesn't seem to exist in /usr/sbin as the guide says] 3. start mysql 4. set proper passwords for mysql 5. mysqladmin -u root -p create mailsql 6. mysql -u root -p --opt mailsql < genericmailsql.sql Actual Results: /usr/sbin/mysql_install_db [Wrong path. I removed the path and it worked] After having set passwords for the mysql, the next steps worked fine up until: # mysql -u root -p --opt mailsql < genericmailsql.sql mysql: unrecognized option `--opt' Expected Results: Added the sql fragment and return without an error. gentoo-pdc root # mysql -u root -p --opt mailsql < genericmailsql.sql mysql: unrecognized option `--opt'
You're right. I think this used to be correct as it is how I set this up initially. But now it seems htings have changed. Thanks for reporting this bug, it's been fixed in the document.