mysql5.0出错日志

来源:互联网 发布:数控加工中心编程 编辑:程序博客网 时间:2024/05/29 17:41
051106 10:44:02  mysqld started
051106 10:44:02  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...
051106 10:44:02  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
051106 10:44:02  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 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
051106 10:44:03  InnoDB: Started; log sequence number 0 43655
051106 10:44:03 [ERROR] /usr/local/mysql/bin/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2)
051106 10:44:03 [ERROR] Can't start server: can't create PID file: No such file or directory
051106 10:44:03  mysqld ended







# Starting mysqld daemon with databases from /var/lib/mysq
l
STOPPING server from pid file /var/run/mysqld/mysqld.pid
051105 12:28:17  mysqld ended






# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

已经创建连接
/var/lib/mysql/mysql.sock /tmp/mysql.sock
原创粉丝点击