i've reinstalled mysql source code, got through "make", "make
install", "./configure --prefix=/usr/local/mysql", and even this time
"scripts/mysql_install_db" with no problems.
But when I tried to change the permissions in the
/usr/local/mysql/data" directory I'm told that directory does not
exist. So I mkdir the data directory and then chown and chgrp it.
When I then run the "safe-mysqld --user=mysqluser &" it appears that
the mysql daemon fires up:
...........................
[1] 22155
[root@localhost bin]# Starting mysqld daemon with databases from
/usr/local/mysql/var
020308 14:50:56 mysqld ended
[1]+ Done safe_mysqld --user=mysqluser
...............................
then when I run "mysqladmin version" to verify if it is really
running, I get:
..............
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!......................
when I check I find a pink mysql.sock file in the /tmp directory.
install", "./configure --prefix=/usr/local/mysql", and even this time
"scripts/mysql_install_db" with no problems.
But when I tried to change the permissions in the
/usr/local/mysql/data" directory I'm told that directory does not
exist. So I mkdir the data directory and then chown and chgrp it.
When I then run the "safe-mysqld --user=mysqluser &" it appears that
the mysql daemon fires up:
...........................
[1] 22155
[root@localhost bin]# Starting mysqld daemon with databases from
/usr/local/mysql/var
020308 14:50:56 mysqld ended
[1]+ Done safe_mysqld --user=mysqluser
...............................
then when I run "mysqladmin version" to verify if it is really
running, I get:
..............
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!......................
when I check I find a pink mysql.sock file in the /tmp directory.