You are not logged in.

#1 2010-10-11 19:53:54

arkara
Member
Registered: 2010-05-02
Posts: 35

Can't start my sql server

This is the /var/lib/mysql/arch.err

101011 22:51:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
101011 22:51:31 [Note] Plugin 'FEDERATED' is disabled.
101011 22:51:31 [Note] Plugin 'ndbcluster' is disabled.
/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
101011 22:51:31 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Log scan progressed past the checkpoint lsn 0 37356
101011 22:51:31  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 44233
101011 22:51:32  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
InnoDB: Apply batch completed
101011 22:51:33  InnoDB: Started; log sequence number 0 44233
101011 22:51:33 [ERROR] /usr/sbin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
101011 22:51:33 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
101011 22:51:33 mysqld_safe mysqld from pid file /var/lib/mysql/arch.pid ended

Offline

#2 2010-10-11 20:36:05

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: Can't start my sql server

Solved by issuing as root

chown -R mysql /var/lib/mysql/

Offline

Board footer

Powered by FluxBB