On Thu, Sep 18, 2008 at 1:33 PM, Glyn Astill <[EMAIL PROTECTED]> wrote:

>
> > Part of the problem is that I can't stop the server.
>
> Oh, so it does start? I thought it also wasn't starting, if it's not
> starting then stopping it will fail.
>

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Can you check the following :

In my system, which is CentOS , I have

[EMAIL PROTECTED] [~]# ls /usr/share/mysql/my-*
/usr/share/mysql/my-huge.cnf*  /usr/share/mysql/my-innodb-heavy-4G.cnf*
/usr/share/mysql/my-large.cnf*  /usr/share/mysql/my-medium.cnf*
/usr/share/mysql/my-small.cnf*
[EMAIL PROTECTED] [~]#

your path may depend on installation.


Copy any of the cnf file to /etc/my.cnf

i.e.

mv /etc/my.cnf /etc/my.cnf.bak  && cp /usr/share/mysql/my-medium.cnf
/etc/my.cnf

Then try to restart mysql

/etc/init.d/mysql restart



Also notice permissions/ownerships on the following folder

[EMAIL PROTECTED] [~]# ls -lhd /var/lib/mysql/
drwxr-x--x 35 mysql mysql 4.0K Sep 18 04:11 /var/lib/mysql//

[EMAIL PROTECTED] [~]# ls -lhd /var/lib/mysql/mysql
drwx--x--x 2 mysql mysql 4.0K Sep 11 18:12 /var/lib/mysql/mysql/
[EMAIL PROTECTED] [~]#



If problem persist, throw some light on how exactly you installed mysql
(version as well as OS and path of mysql install )

Reply via email to