Код: Выделить всё
150720 14:23:43 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
150720 14:23:43 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
150720 14:23:43 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
150720 14:23:43 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
150720 14:23:43 [Note] Plugin 'FEDERATED' is disabled.
/usr/local/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
150720 14:23:43 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
150720 14:23:43 InnoDB: Initializing buffer pool, size = 16.0M
150720 14:23:43 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file /var/db/mysql/ibdata1 did not exist:
InnoDB: a new database to be created!
150720 14:23:43 InnoDB: Setting file /var/db/mysql/ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
150720 14:23:43 InnoDB: Log file /var/db/mysql/ib_logfile0 did not exist: new to be created
InnoDB: Setting log file /var/db/mysql/ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
150720 14:23:43 InnoDB: Log file /var/db/mysql/ib_logfile1 did not exist: new to be created
InnoDB: Setting log file /var/db/mysql/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
150720 14:23:44 InnoDB: Started; log sequence number 0 0
150720 14:23:44 [ERROR] /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
150720 14:23:44 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
150720 14:23:44 mysqld_safe mysqld from pid file /var/db/mysql/****.****.****.pid ended
Код: Выделить всё
root@ns2:/usr/local/data # pkg info | grep mysql
mysql51-client-5.1.73_3 Multithreaded SQL database (client)
mysql51-server-5.1.73_2 Multithreaded SQL database (server)