Hi,
The problem is actually with the /var/lib/mysql directory(which is where
mysql.sock is :), which is rwx to root only.  (Only true for 7.0, fixed for
7.1)

Like Ken said, the best solution is to get latest mysql version. Just go
here:.
ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/linux/rawhide/SRPMS/SRPMS
and get the latest mysql source rpm from that directory.  Do a
"rpm --rebuild mysql-3.23.xx-x.src.rpm" and install the resulting rpms, and
you're set.

HTH,
Ole Gjerde

----- Original Message -----
> This should probably go in a FAQ somewhere.
>
> If you are using the default mysql installation
> on redhat, it won't work. I think the default will
> not let non mysqsl/root users connect to the database.
> This is because of restrictive permissions to the
> mysql.sock file used to connect to the database.
>
> Easiest solution.
> rpm erase the current mysql packages. Download the
> lastest stable mysql rpm's and install them.
> Should work fine.
>
> Ken Jones
>

Reply via email to