error connecting to mysql

How did you install Mysql? since it looks like mysqld is not in your path something is not right....

do you have mysql in your path?

# which mysql

or try to find mysqld with

# find / -name mysqld

and the two ls commands from Craig would be nice too...

maybe you have more than one mysql on this server

How did you install Mysql? since it looks like mysqld is not in your path something is not right....

do you have mysql in your path?

# which mysql

or try to find mysqld with

# find / -name mysqld

and the two ls commands from Craig would be nice too...

maybe you have more than one mysql on this server

Craig:

The mysqld_safe script is just a nanny/startup script that starts the mysqld (Mysql server) and make sure that this process is running. If mysqld dies or is killed mysqld_safe will restart that process. By using the mysqld executable directly you get more output to the screen that should be helpf

Adolf:

After thinking about this more do you have SELinux running? I have seen that to be an issue in the past where the mysqld process is denied access to its .sock file.