LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-25-2003, 08:05 AM   #1
BlackRabbit
Member
 
Registered: Oct 2003
Distribution: Debian
Posts: 83

Rep: Reputation: 15
Mysql ended


Just did a fresh install of SlackWare 9.1.
After install, I did this:

mysql_install_db
mysqld_safe

=>

Quote:
Starting mysqld daemon with databases from /var/lib/mysql
031024 11:33:40 mysqld ended
Jupiter.err:
Quote:
031024 11:23:35 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
031024 11:23:35 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
031024 11:23:36 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...
031024 11:23:36 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
031024 11:23:38 InnoDB: Started
031024 11:23:38 Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
031024 11:23:38 Aborting

031024 11:23:38 InnoDB: Starting shutdown...
031024 11:23:40 InnoDB: Shutdown completed
031024 11:23:40 /usr/libexec/mysqld: Shutdown Complete
So mysqld can't open host.frm.. How come?
Just for testing I chmodded those files in /var/lib/mysql/mysql to 777, but I still get the same error..

What's wrong?
 
Old 10-25-2003, 09:02 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Before doing a mysqld_safe do this:

chown -R mysql.mysql /var/lib/mysql
 
Old 10-25-2003, 09:35 AM   #3
BlackRabbit
Member
 
Registered: Oct 2003
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by trickykid
Before doing a mysqld_safe do this:

chown -R mysql.mysql /var/lib/mysql
Thanks, it did the trick!
 
  


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
mysqld error : 'mysql ended' anindyanuri Slackware 8 11-25-2005 11:14 PM
Fedora Core 3, MySql Server, mysql started mysql ended OkiTek Fedora 30 01-28-2005 09:15 AM
"mysqld ended" when trying to start mysql daemon guarriman Linux - General 1 01-19-2005 07:35 AM
Telnet Failed plus mysql ended ckamheng Slackware 2 12-09-2004 01:20 PM
MySQL ended... wtf? :( ilhbutshm Linux - Software 5 12-09-2004 07:48 AM


All times are GMT -5. The time now is 03:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration