LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


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

Rep: Reputation: 31
mysql problem


hello

what do i need to do if i get the error message that says the mysql.host-file is not on the disk when starting the mysql daemon?

what is this file for anyway?? and where can i get it from (creating)

bye
 
Old 02-01-2002, 11:29 AM   #2
kill-hup
Member
 
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
In the mysql distribution there are some scripts which will help you set up an intial permission/db structure for mysql. I think the one you're looking for is <mysql-src-dir>/scripts/mysql_install_db
 
Old 02-10-2002, 11:36 PM   #3
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
just got it working

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



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 12:42 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
mysql 4.0.24 to mysql 4.1.12 upgrade problem tuxrules Slackware 7 08-13-2005 06:43 PM
MySQL server problem after linking (mysql.sock) ewijaya Linux - General 4 01-19-2004 09:46 AM
MySQL mysql-3.23.56-1.9, rpm install problem jacsmith510 Linux - Newbie 3 09-19-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:32 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
Open Source Consulting | Domain Registration