LinuxQuestions.org
Visit Jeremy's Blog.
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 10-30-2004, 01:14 PM   #1
ekaja
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Unhappy can't run mysql


041031 00:26:05 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
041031 0:26:05 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
041031 0:26:06 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
041031 0:26:07 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
041031 0:26:08 InnoDB: Started
041031 0:26:08 Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
041031 0:26:08 Aborting

041031 0:26:08 InnoDB: Starting shutdown...
041031 0:26:10 InnoDB: Shutdown completed
041031 0:26:10 /usr/libexec/mysqld: Shutdown Complete

041031 00:26:10 mysqld ended

-------------------------------------------------------------------------------------
/var/lib/mysql# ls -la
total 20568
drwxr-x--- 4 mysql mysql 4096 2004-10-31 00:26 ./
drwxr-xr-x 12 root root 4096 2004-06-06 04:43 ../
-rw-rw---- 1 mysql mysql 25088 2004-10-31 00:26 ib_arch_log_0000000000
-rw-rw---- 1 mysql mysql 5242880 2004-10-31 00:26 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 2004-10-31 00:26 ib_logfile1
-rw-rw---- 1 mysql mysql 10485760 2004-10-31 00:26 ibdata1
drwx------ 2 root root 4096 2004-10-31 00:25 mysql/
drwx------ 2 root root 4096 2004-10-31 00:25 test/
-rw-rw---- 1 mysql root 1173 2004-10-31 00:26 ww w.err
/var/lib/mysql#
-------------------------------------------------------------------------------------

my distro = slackware 10
mysql = mysql 4.0.21


 
Old 10-30-2004, 01:38 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try setting the right permissions:
chown -R mysql:mysql /var/lib/mysql
 
Old 10-30-2004, 08:20 PM   #3
ekaja
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Oh...

very easy...


Thank You so much
 
Old 12-18-2004, 01:56 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


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 Daemon doesn't run stedo Debian 1 11-23-2005 08:07 AM
MYsql can't run ekaja Slackware - Installation 2 11-15-2004 04:58 AM
Getting MySql to run on startup jriis Debian 8 03-16-2004 12:20 PM
MySQL cant run run-all-tests demmylls Linux - Software 5 02-18-2004 02:08 AM
I am not able to run mysql pls help me. Harish_f Linux - General 3 05-07-2002 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 AM.

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