編譯mysql後不能初始化innodb

 InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!


解決方法:mysql

mv /var/lib/mysql ./mysqlbak

也就是讓mysql從新建立這個文件的內容sql

相關文章
相關標籤/搜索