站长www.software8.co

热转印www.heatpress123.net

请问根据这个错误提示,该如何建立库?

$ ./safe_mysqld & 345 $ Starting mysqld daemon with databases from /usr/local/mysql/data STOPPING server from pid file /usr/local/mysql/data/xmtt9.pid 051108 16:57:28 mysqld ended $ ./mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 在DATA目录下生成xxx.err文件,内容为 051108 16:20:30 mysqld started InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 051108 16:20:31 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 051108 16:20:31 InnoDB: Log file ./ib_logfile0 did not exist: new to be createdInnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 051108 16:20:31 InnoDB: Log file ./ib_logfile1 did not exist: new to be createdInnoDB: 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 051108 16:20:32 InnoDB: Started; log sequence number 0 0 051108 16:20:32 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 051108 16:20:32 mysqld ended 051108 16:57:25 mysqld started 051108 16:57:27 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... 051108 16:57:27 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 051108 16:57:27 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 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 051108 16:57:27 InnoDB: Started; log sequence number 0 43655 051108 16:57:28 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 051108 16:57:28 mysqld ended 操作系统为SOLARIS8

posted on 2013-05-04 14:34 文哥哥 阅读(150) 评论(0)  编辑  收藏

<2013年5月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

导航

统计

常用链接

留言簿

随笔档案

文章档案

友情链接

最新随笔

搜索

最新评论

阅读排行榜

评论排行榜