[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] errors installing mysql from source



I have just installed mysql from source on a new RaQ4,  problem is that it
doesnt work,

After reading through some of the archive and looking at the partitions that
cobalt had set up I thought I would have to install mysql somewhere in the
/home directory,

so I configured mysql  './configure --prefix=/home/mysql'

because i thought that was a logical place for it I know that it usually is
istalled in /usr/local but again from past messages I thought it should go
in the home directory

i ran 'make' and then 'make install' in the /home/tmp/mysql-3.22.32 folder
where I had unpacked it.

but in the /home/mysql directory there is no scripts directory so when i try
to do 'scripts/mysql_install_db'  i cant

i go to /home/tmp/mysql-3.22.32 and I can do it

i then tried to start mysql up in the /home/mysql/bin './safe_mysqld &'
and then try and change the mysqladmin password with:

./mysqladmin -u root password 'newpass'

and get the error:

./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(11
1)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

I dont know if I should either try and delete mysql from the server and
start over and just let install in usr/local or what - please can someone
send me some guidance?


I am sorry if someone gets offended with me posting to this list with this
question I thought it was more appropriate on this list than on a mysql
list - I also hope I dont offend anyone who thinks that this message is
answered in the help files on mysql.com because I honestly looked and
couldnt find anything that helped me,


thanks for any help

jake smith