[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: MYSQL problems



Tobe Johnson wrote:
> 
> Same thing happens with /usr/sbin/mysqld & as well.  It says 'ready for connections', but then seems to hang up or something.
> 
> My log file says this:
> 000104  3:25:50  /usr/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
> 
> I see the /usr/bin/mysql/mysql/host.frm present.  Does it mean that I am missing a line from the host table of the database?
> 
> Tobe
> 
> ----------
> From:   Tony Turner[SMTP:Tony@xxxxxxxxxxxxx]
> Sent:   Monday, January 03, 2000 1:08 PM
> To:     'tobe@xxxxxxxxxxxx'
> Subject:        RE: MYSQL problems
> 
> I thought you started MySQL this way             /usr/sbin/mysqld &
> 
> Tony
> 
> > -----Original Message-----
> > From: Tobe Johnson [SMTP:tobe@xxxxxxxxxxxx]
> > Sent: Monday, January 03, 2000 08:09
> > To:   mysql@xxxxxxxxxxxxxxx; 'cobalt-users@xxxxxxxxxxxxxxx'
> > Subject:      MYSQL problems
> >
> > MySQL will run if I start it from the command line with
> > /usr/sbin/mysqld
> > -Sg.  However, it won't run with only /usr/sbin/mysqld.
> >
> > If I shut down the mysql server after running it with /usr/sbin/mysqld
> > -Sg
> > and try to restart it using /usr/sbin/mysqld it 'says' it is 'ready
> > for
> > connections', but it isn't.....I can't access it.
> >
> > Any ideas what would cause this?  Is it something simple that I am
> > missing?
> >
> > Tobe
> >

Looks like you have a bit of mess of mysql installation -- or at least files are
installed in rather unusual locations.

Error 13 is "Permission denied" -- make sure your datadir is read-writable by
the user your run mysqld as.


-- 
Sasha Pachev

+------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@xxxxxx        |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sasha Pachev            |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sasha@xxxxxxxxx  |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Provo, Utah, USA        |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                         |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                        |
|             /*/             \*\ Developers Team                  |
+------------------------------------------------------------------+