You are not logged in.

#1 2011-11-11 23:02:15

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

mysql installation notes outdated?

Both commands

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h kobold password 'new-password'

do not work. They say, they can't connect to the server.
(I did start the deamon!)

You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl

Both the directory and the file does not exist.

For reference, here are the full installation notes:

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h kobold password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/scripts/mysqlbug script!

edit:
I just read the wiki article on mysql, the instructions there worked
just fine. Maybe the installation notes should just point there...

Last edited by MickeyKnox (2011-11-12 00:23:41)

Offline

Board footer

Powered by FluxBB