[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] errors installing mysql from source
- Subject: RE: [cobalt-users] errors installing mysql from source
- From: "Leandro Charles" <lcharles@xxxxxxxxxxx>
- Date: Wed Aug 30 15:34:12 2000
I had the same problem even when installing from the rpms supplied by
cobalt. What you should do is create a file named /etc/my.cnf with the
following content:
[mysqld]
socket=/tmp/mysql.sock
[client]
socket=/tmp/mysql.sock
this should get the client and the server talking about the same thing. Hope
it helps.
Leandro Charles
http://www.raqlink.com
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Jake Smith
Sent: Wednesday, August 30, 2000 4:47 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [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
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users