well first off i downloaded the mysql-standard-4.0.17-pc-linux-i686 from mysql and tried to follow these steps that can be found
here
now i got the following errors from each step.
shell> groupadd mysql
bash-2.05a# groupadd mysql
groupadd: group mysql exists
shell> useradd -g mysql mysql
bash-2.05a# useradd -g mysql mysql
useradd: user mysql exists
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf - <-unpacks fine
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
bash-2.05a# ./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.
Neither host 'darkstar' and 'localhost' could not be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
shell> make <- this wouldnt run because the config never went off
shell> make install <- dito
shell> scripts/mysql_install_db
bash-2.05a# scripts/mysql_install_db
Neither host 'darkstar' and 'localhost' could not be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
(this is what happend when i forced it)
bash-2.05a# scripts/mysql_install_db --force
Installing all prepared tables
031228 3:43:03 ./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 password 'new-password'
./bin/mysqladmin -u root -h darkstar 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/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl 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
shell> chown -R root /usr/local/mysql <-didnt work because dir wasnt created
shell> chown -R mysql /usr/local/mysql/var <- dito
shell> chgrp -R mysql /usr/local/mysql <-double dito
shell> cp support-files/my-medium.cnf /etc/my.cnf <- worked
shell> /usr/local/mysql/bin/mysqld_safe --user=mysql &
bash-2.05a# /usr/local/mysql/bin/mysqld_safe --user=mysql &
[1] 11579
bash: /usr/local/mysql/bin/mysqld_safe: No such file or directory
bash-2.05a#
Now i use to have slackware 8.1 then 9 andi got the same issues and when i moved over to CL i get the same issues so the problem as to be me and not the disto so can some one help me out.
