Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10914 - Mysql ebuild gives incomplete instructions.
Summary: Mysql ebuild gives incomplete instructions.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-18 11:23 UTC by Michaelian Ennis
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michaelian Ennis 2002-11-18 11:23:45 UTC
* 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#
Comment 1 SpanKY gentoo-dev 2002-11-18 11:36:55 UTC
could you be more specific in terms of where the lack of instructions can be found ? 
Comment 2 Michaelian Ennis 2002-11-18 16:51:02 UTC
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
Comment 3 SpanKY gentoo-dev 2002-11-18 19:08:03 UTC
that message is displayed by mysql itself, not the ebuild