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 :newbie: |
Try setting the right permissions:
chown -R mysql:mysql /var/lib/mysql |
Oh...
very easy... Thank You so much |
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 |
All times are GMT -5. The time now is 09:38 PM. |