472,328 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

no "host.frm"

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

Jul 19 '05 #1
4 9176
Hi,
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.


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

Jul 19 '05 #2
Hi,
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.


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

Jul 19 '05 #3
On Sun, 05 Oct 2003 19:47:12 +0200, Jens Schanz wrote:

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 ...

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

Jul 19 '05 #4
On Sun, 05 Oct 2003 19:47:12 +0200, Jens Schanz wrote:

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 ...

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

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: F. Da Costa | last post by:
Hi, I was wondering *why* there is a difference between the results of the following two statements. On the suface they seem to do the same (or...
7
by: mike | last post by:
regards: Does each HTTP Request have "Host:" header? Any positive suggestion is welcome. thank you May goodness be with you all
1
by: lasabo | last post by:
Hi, I'm trying to write a software that log in to a password- protected page, but when I try to open the page and send inn the password, the...
0
by: Bigdave | last post by:
hi Ive recently started coding a small project in c# using microsofts 2005 beta, i am trying to setup a small application that will send a string...
0
by: Mike | last post by:
VB .NET 2003, Pocket PC 2003, CF 1.0 SP 2 Only when I use a proxy server, I'm getting this error when attempting to write data to a Stream object...
0
by: Durai | last post by:
Hello All, I built postgresql on HPUX IPF(11.22) platform. It works fine. But I have warning message "could not resolve "localhost": host nor...
1
by: srinu | last post by:
Hello, We had one webserver based on a linux machine. The website is fully function and designed by a different person. Now we moved the machine...
0
by: SisAndz | last post by:
Hello, I'm trying to do a secure connect to the site https://212.77.100.18/p/ with ..net 2.0 HttpWebRequest class, unfortunately for some reason...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.