эхх, перестал запускать мускул, пишет ошибку 2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock'
при запуске
/usr/local/etc/rc.d/mysql-server restart
mysql not running? (check /var/db/mysql/myserv1.inter.com.pid).Вчера такая же проблема была, но все решилось просто установкой 777 прав на /tmp
А теперь и незнаю что придумать. В папке /var/db/mysql есть файл myserv1.inter.com.pid.err его содержимое
090207 10:36:29 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
^G/usr/local/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
090207 10:36:29 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
090207 10:36:29 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
090207 10:36:29 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...
090207 10:36:29 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
090207 10:36:29 InnoDB: Started; log sequence number 0 0
090207 10:36:29 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
090207 10:36:29 [ERROR] Do you already have another mysqld server running on port: 3306 ?
090207 10:36:29 [ERROR] Aborting
090207 10:36:29 InnoDB: Starting shutdown...
090207 10:36:30 InnoDB: Shutdown completed; log sequence number 0 46409
090207 10:36:30 [Note] /usr/local/libexec/mysqld: Shutdown complete
090207 10:36:30 mysqld_safe mysqld from pid file /var/db/mysql/myserv1.inter.com.pid ended
090207 10:37:11 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
^G/usr/local/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
090207 10:37:11 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
090207 10:37:12 InnoDB: Started; log sequence number 0 46409
090207 10:37:12 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
090207 10:37:12 [ERROR] Do you already have another mysqld server running on port: 3306 ?
090207 10:37:12 [ERROR] Aborting
090207 10:37:12 InnoDB: Starting shutdown...
090207 10:37:13 InnoDB: Shutdown completed; log sequence number 0 46409
090207 10:37:13 [Note] /usr/local/libexec/mysqld: Shutdown complete
090207 10:37:13 mysqld_safe mysqld from pid file /var/db/mysql/myserv1.inter.com.pid ended