mysqld_safe: Starting mysqld daemon with databases from /home/mysqldata
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [Note] Plugin 'FEDERATED' is disabled.
Oct 30 10:09:44 trond-laptop mysqld: /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 InnoDB: Started; log sequence number 0 10235864
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb'
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [ERROR] Aborting
Oct 30 10:09:44 trond-laptop mysqld:
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 InnoDB: Starting shutdown...
Oct 30 10:09:45 trond-laptop mysqld: 091030 10:09:45 InnoDB: Shutdown completed; log sequence number 0 10235864
Oct 30 10:09:45 trond-laptop mysqld: 091030 10:09:45 [Warning] Forcing shutdown of 1 plugins
Oct 30 10:09:45 trond-laptop mysqld: 091030 10:09:45 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 30 10:09:45 trond-laptop mysqld:
Oct 30 10:09:45 trond-laptop mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Oct 30 10:09:58 trond-laptop /etc/init.d/mysql[23033]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Oct 30 10:09:58 trond-laptop /etc/init.d/mysql[23033]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
Oct 30 10:09:58 trond-laptop /etc/init.d/mysql[23033]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Oct 30 10:09:58 trond-laptop /etc/init.d/mysql[23033]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Oct 30 10:09:58 trond-laptop /etc/init.d/mysql[23033]:
----
I have tried to run the mysql_upgrade command, but it won't run as the server is not running.
This is my daemon.log
mysqld_safe: Starting mysqld daemon with databases from /home/mysqldata mysqld/ mysqld. pid ended d/mysql[ 23033]: 0 processes alive and '/usr/bin/ mysqladmin --defaults- file=/etc/ mysql/debian. cnf ping' resulted in d/mysql[ 23033]: #007/usr/ bin/mysqladmin: connect to server at 'localhost' failed d/mysql[ 23033]: error: 'Can't connect to local MySQL server through socket '/var/run/ mysqld/ mysqld. sock' (2)' d/mysql[ 23033]: Check that mysqld is running and that the socket: '/var/run/ mysqld/ mysqld. sock' exists! d/mysql[ 23033]:
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [Note] Plugin 'FEDERATED' is disabled.
Oct 30 10:09:44 trond-laptop mysqld: /usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 InnoDB: Started; log sequence number 0 10235864
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb'
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 [ERROR] Aborting
Oct 30 10:09:44 trond-laptop mysqld:
Oct 30 10:09:44 trond-laptop mysqld: 091030 10:09:44 InnoDB: Starting shutdown...
Oct 30 10:09:45 trond-laptop mysqld: 091030 10:09:45 InnoDB: Shutdown completed; log sequence number 0 10235864
Oct 30 10:09:45 trond-laptop mysqld: 091030 10:09:45 [Warning] Forcing shutdown of 1 plugins
Oct 30 10:09:45 trond-laptop mysqld: 091030 10:09:45 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 30 10:09:45 trond-laptop mysqld:
Oct 30 10:09:45 trond-laptop mysqld_safe: mysqld from pid file /var/run/
Oct 30 10:09:58 trond-laptop /etc/init.
Oct 30 10:09:58 trond-laptop /etc/init.
Oct 30 10:09:58 trond-laptop /etc/init.
Oct 30 10:09:58 trond-laptop /etc/init.
Oct 30 10:09:58 trond-laptop /etc/init.
----
I have tried to run the mysql_upgrade command, but it won't run as the server is not running.