站長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 文哥哥 閱讀(155) 評論(0)  編輯  收藏

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

          導航

          統計

          常用鏈接

          留言簿

          隨筆檔案

          文章檔案

          友情鏈接

          最新隨筆

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 吉隆县| 商河县| 瑞昌市| 灵山县| 通许县| 噶尔县| 龙南县| 晋江市| 香格里拉县| 同德县| 芮城县| 许昌县| 临泉县| 巫溪县| 惠来县| 卓资县| 雅江县| 纳雍县| 志丹县| 商洛市| 杭锦后旗| 会昌县| 扎赉特旗| 垣曲县| 丽江市| 江达县| 莱州市| 宝清县| 太谷县| 通州区| 岐山县| 辽宁省| 乐山市| 玛纳斯县| 青海省| 宁阳县| 灵石县| 海盐县| 奎屯市| 牟定县| 翼城县|