LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySQL Installation Problem (https://www.linuxquestions.org/questions/linux-software-2/mysql-installation-problem-71575/)

userini 07-10-2003 11:29 AM

MySQL Installation Problem
 
I have installed MySQL Standard 4.0.13-i686, set the proper permissions, and configured Slackware so that it starts mysql.server on boot. However, I get these problems:

Code:

$ cd /usr/local/mysql
$ ./bin/mysql
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

So I decide to try to manually start the server:

Code:

$ ./bin/mysqld_safe &
[1] 761
The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/mysqld_safe.
[1]+  Exit 1                  mysqld_safe  (wd: /usr/local/mysql/bin)

I do what is recommended, but get the same error message. I've checked the directories, and neither 'libexec' nor 'mysql.sock' exist. Any help on this issue would be greatly appreciated.

ftenario 07-10-2003 01:12 PM

mysql installation problem
 
Hello,

I occassionally get that error during installation from source. I usually do these: create "mysql" group and "mysql" user. Make sure the data directory where mysql is installed is owned by mysql group and mysql user. I dont know exactly if this is the 100% solution to your problem. But this works for me most of the time.

userini 07-12-2003 01:13 PM

I have already done that, and I am also installing from binaries.


All times are GMT -5. The time now is 07:11 PM.