mysql5.5 遇到的路徑問題,mysql5.5遇到路徑

來源:互聯網
上載者:User

mysql5.5 遇到的路徑問題,mysql5.5遇到路徑

下面是my.ini裡面的參數

basedir="C:/Program Files/MySQL/MySQL Server 6.0/"

datadir=""      存放表結構的路徑

innodb_data_home_dir=""  這個是存放表資料的路徑       ibdata1(存放表資料)

MYSQL出錯1030 Got error -1 from storage engine
你應該是使用的innodb,檢查你的my.cnf或my.ini,裡面會有一個參數innodb_force_recovery,你看看他的值,預設是沒有這個參數,沒有的話,他的預設值是0,這個參數的值如果大於0,innodb會被禁止使用insert、update、delete命令,你可以嘗試將他的值設定為0,看看你的mysql是否正常,如果正常就用就行了。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.