* Starting mysqld... [ ok ] bash-2.05a# /usr/bin/mysqladmin -u root password 'apassword' bash-2.05a# /usr/bin/mysqladmin -u root -h myhostname.mydomain.com password 'apassword' /usr/bin/mysqladmin: connect to server at 'myhostname.mydomain.com' failed error: 'Access denied for user: 'root@localhost' (Using password: NO)' Should be this: bash-2.05a# /usr/bin/mysqladmin -u root -p -h myhostname.mydomain.com password 'apassword' Enter password: bash-2.05a#
could you be more specific in terms of where the lack of instructions can be found ?
Yes: * * You might want to run: * "ebuild /var/db/pkg/dev-db/mysql-3.23.52-r1/mysql-3.23.52-r1.ebuild config" * if this is a new install. * >>> Regenerating /etc/ld.so.cache... >>> dev-db/mysql-3.23.52-r1 merged. >>> Recording dev-db/mysql in "world" favorites file... dev-db/mysql selected: none protected: 3.23.52-r1 omitted: none >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 87 info files. bash-2.05a# bash-2.05a# ebuild /var/db/pkg/dev-db/mysql-3.23.52-r1/mysql-3.23.52-r1.ebuild config * Press ENTER to create the mysql database and set proper * permissions on it, or Control-C to abort now... Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! This is done with: /etc/init.d/mysql start (you have to start the server first!) /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h sunyata.corvus.net password 'new-password' See the manual for more instructions. Please report any problems with the /usr/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at https://order.mysql.com
that message is displayed by mysql itself, not the ebuild