Hi list,
This is the first time I am installing MySql on my machine. I downloaded the 
latest tar version (3.23.46) from mysql.com and tried to install it. But when 
I gave the command 
             ./configure --prefix=/usr/local/mysql 
It gave me the message that you don't need to configure this package since 
this is binary and ready to run. But if I try to check with mysql admin 
command or safe_mysqld , it doesnot work.
Could anyone help me please ?
Thanks in advance .

Kamlesh.

The Message which I got after ./configure command is as follows :

[root@admin mysql-3.23.46-pc-linux-gnu-i686]# ./configure 
--prefix=/usr/local/mysql
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
 
To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
 
Installing all prepared tables
011226 19:12:41  ./bin/mysqld: Shutdown Complete
 
 
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 !
This is done with:
./bin/mysqladmin -u root -p password 'new-password'
./bin/mysqladmin -u root -h admin.com -p password 'new-password'
See the manual for more instructions.
 
NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
 
You can start the MySQL daemon with:
cd . ; ./bin/safe_mysqld &
 
You can test the MySQL daemon with the benchmarks in the 'sql-bench' 
directory:
cd sql-bench ; run-all-tests
 
Please report any problems with the ./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 the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version

[root@admin mysql-3.23.46-pc-linux-gnu-i686]# chown: mysql: invalid user
Starting mysqld daemon with databases from 
/home/kamlesh/packs/mysql-3.23.46-pc-linux-gnu-i686/data
011226 19:12:41  mysqld ended               

[root@admin mysql-3.23.46-pc-linux-gnu-i686]# ./bin/mysqladmin version
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' 
(111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@admin mysql-3.23.46-pc-linux-gnu-i686]#   

---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to