sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Little Monster's Avatar

no "host.frm"


Question posted by: Little Monster (Guest) on July 20th, 2005 12:28 AM
Hi all, new to this ng and trying to run MySQL for the first time ever.
The box runs Slackware 9.0 on a Duron, the version MySQL is
"mysql-3.23.56-i386-1" as supplied with the distro.

Starting mysqld with

# /usr/bin/safe_mysqld &

gives me

# Starting mysqld daemon with databases from /var/lib/mysql 031004
21:48:25 mysqld ended

(I did do # mysql_install_db also copied my-small.cnf to my.cnf)

I get a host.err log saying:

031004 21:48:25 mysqld started
031004 21:48:25 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
(errno: 13) 031004 21:48:25 mysqld ended

Looks to be a common problem - but what's the fix? I tried using touch to
make a mysql/host.frm empty file in libexec or in etc, but still get the same
error.

Any help appreciated,
TIA, Monster
--
Spam will eat itself

4 Answers Posted
Jens Schanz's Avatar
Guest - n/a Posts
#2: Re: no "host.frm"

Hi,
[color=blue]
> I get a host.err log saying:
>
> 031004 21:48:25 mysqld started
> 031004 21:48:25 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno: 13) 031004 21:48:25 mysqld ended
>
> Looks to be a common problem - but what's the fix? I tried using touch to
> make a mysql/host.frm empty file in libexec or in etc, but still get the
> same error.[/color]

have you created the database tables? There must be a script called
mysql_install_db or so ... Check /usr/bin after that an execute it ...

Brgds,
Jens

Jens Schanz's Avatar
Guest - n/a Posts
#3: Re: no "host.frm"

Hi,
[color=blue]
> I get a host.err log saying:
>
> 031004 21:48:25 mysqld started
> 031004 21:48:25 /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno: 13) 031004 21:48:25 mysqld ended
>
> Looks to be a common problem - but what's the fix? I tried using touch to
> make a mysql/host.frm empty file in libexec or in etc, but still get the
> same error.[/color]

have you created the database tables? There must be a script called
mysql_install_db or so ... Check /usr/bin after that an execute it ...

Brgds,
Jens

Little Monster's Avatar
Little Monster July 20th, 2005 12:28 AM
Guest - n/a Posts
#4: Re: no "host.frm"

On Sun, 05 Oct 2003 19:47:12 +0200, Jens Schanz wrote:[color=blue]
>
> have you created the database tables? There must be a script called
> mysql_install_db or so ... Check /usr/bin after that an execute it ...
>[/color]
Yes, I had done that. Fixed it now - I discovered my slocate was out of
date! The permissions on /var/lib/mysql/mysql were set to root.root so I
changed to mysql.root. Everything is working now!

Thanks,
Alexis
--
Spam will eat itself

Little Monster's Avatar
Little Monster July 20th, 2005 12:28 AM
Guest - n/a Posts
#5: Re: no "host.frm"

On Sun, 05 Oct 2003 19:47:12 +0200, Jens Schanz wrote:[color=blue]
>
> have you created the database tables? There must be a script called
> mysql_install_db or so ... Check /usr/bin after that an execute it ...
>[/color]
Yes, I had done that. Fixed it now - I discovered my slocate was out of
date! The permissions on /var/lib/mysql/mysql were set to root.root so I
changed to mysql.root. Everything is working now!

Thanks,
Alexis
--
Spam will eat itself

 
Not the answer you were looking for? Post your question . . .
196,948 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,948 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors