LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2002, 10:07 AM   #1
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
mysql looking for some file


hello

i installed mysql on my box, but i am having a problem, which i do not know how to solve.

when I try to start the mysql daemon, it complains about not finding the file mysql.host (the file is not on my drive) and exits. i dont know how to create that file. is it something that should be created automatically on startup?

thank your for any kind of input :-))

bye

raven
 
Old 02-10-2002, 09:25 PM   #2
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
mysql

I posted a reply about mysql. I have a problem with

/usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)

look at my post on 2/10/02
 
Old 02-10-2002, 11:00 PM   #3
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Did you run:
Code:
mysql_install_db
 
Old 02-11-2002, 12:32 AM   #4
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
yes I did run mysql_install_db! thank you!

the problem was solved

Just got it running under Redhat 7.2

best to install EVERYTHING when installing Redhat
mysql was installed when I did an update to Redhat 7.1

login as root

Start server via:
/usr/bin/mysql_install_db
/usr/bin/safe_mysqld --user=root &

Start client via:
mysql

enter sql...
use mysql;
create table yiyi (n1 float);
insert into yiyi values (3.14159);
select * from yiyi;


There are instructions on how to
(1) run as a user other than root
(2) start automatically on booting Linux

enter at the prompt:
>locate mysql

enter the following into the location slot of netscape for documentation
file:/usr/share/doc/mysql-3.23.41/manual.html

this works for Redhat 7.2

much more work to be done

I logged out as root and logged in as myself and the server was still running and the sql worked!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
mysql.sock File anjanesh Fedora 8 01-17-2006 11:39 PM
How to copy mysql file into text file lumba General 0 09-26-2005 06:08 AM
File permissions in MySQL hindenbergbaby Linux - Newbie 1 10-11-2003 09:53 PM
mysql.h file missing cyberswami Linux - Software 1 02-04-2003 10:44 PM


All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration