>Description:
I downloaded and installed the RPM from mysql.org (the uu.net mirror
in the USA). The transcript told me to set a root password using
/usr/bin/mysqladmin, but that program doesn't exist. I also am missing
other programs referred to in the documentation, such as /usr/bin/mysql
(the client). The documentation refers to /usr/local/mysql, but that
directory wasn't created. I simply can't find much correspondence between
the documentation and what I have.
Wait! Never mind. I installed the -client RPM and that contains
the /usr/bin/mysqladmin and other programs. All is well, now. However,
can I humbly suggest that your documentation should tell people to
install both before running any programs. It is odd to me that the
mysqladmin program is with the client RPM and not the server RPM ,
but as long as I know to install both, it doesn't matter.
>How-To-Repeat:
# rpm -ivh MySQL-3.23.53a-1.i386.rpm
Preparing... ########################################### [100%]
1:MySQL ########################################### [100%]
Installing all prepared tables
021115 15:36:38 /usr/sbin/mysqld: Shutdown Complete
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h dudley.wellesley.edu password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
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
Starting mysqld daemon with databases from /var/lib/mysql
# ls /usr/bin/mysql*
/usr/bin/mysqlbug /usr/bin/mysqlhotcopy
/usr/bin/mysql_convert_table_format /usr/bin/mysql_install_db
/usr/bin/mysqld_multi /usr/bin/mysql_setpermission
/usr/bin/mysqldumpslow /usr/bin/mysqltest
/usr/bin/mysql_fix_privilege_tables /usr/bin/mysql_zap
>Fix:
I looked in the documentation for some alternative, but could see none.
>Submitter-Id: [EMAIL PROTECTED]
>Originator: [EMAIL PROTECTED]
>Organization:
Wellesley College
>MySQL support: none
>Synopsis: /usr/bin/mysqladmin missing from Linux/x86 RPM
>Category: mysql
>Class: doc-bug
>Release: mysql-3.23.53a (Official MySQL RPM)
>Environment:
System: Linux dudley.wellesley.edu 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='gcc'
CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Sep 17 2001 /lib/libc.so.6 -> libc-2.2.2.so
-rwxr-xr-x 1 root root 1236396 Apr 6 2001 /lib/libc-2.2.2.so
-rw-r--r-- 1 root root 26350254 Apr 6 2001 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Apr 6 2001 /usr/lib/libc.so
Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static --without-berkeley-db --without-innodb
--enable-assembler --enable-local-infile --with-mysqld-user=mysql
--with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/
--with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql
--infodir=/usr/share/info --includedir=/usr/include --mandir=/usr/share/man
'--with-comment=Official MySQL RPM' CC=gcc 'CFLAGS=-O6 -fno-omit-frame-pointer
-mpentium' 'CXXFLAGS=-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' CXX=gcc
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <mysql-unsubscribe-##L=##[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php