After I emerge mysql then I run this command: ebuild /var/db/pkg/dev-db/mysql-3.23.52-r1/mysql-3.23.52-r1.ebuild config to configure mysql as listed after emerge. I get this error: * Press ENTER to create the mysql database and set proper * permissions on it, or Control-C to abort now... Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' ERROR: 1033 Incorrect information in file: './mysql/db.frm' 021205 16:54:32 /usr/libexec/mysqld: Shutdown Complete PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! This is done with: /etc/init.d/mysql start (you have to start the server first!) /usr/bin/mysqladmin -u root password 'new- password' /usr/bin/mysqladmin -u root -h andvari.klettur.net password 'new- password' See the manual for more instructions. Please report any problems with the /usr/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at https://order.mysql.com Then I tried to do: emerge -C mysql and emerge-ing mysql again after I removed /var/lib/mysql but still I get the same error. Oh and this was in the myqsl.err log: 021205 17:01:21 mysqld started 021205 17:01:21 /usr/libexec/mysqld: Table 'mysql.host' doesn't exist 021205 17:01:21 mysqld ended
Yeap, i had this bug before. I guess you have an AMD K6 - [1||2||3] an a CFLAGS="...-march=k6" or similar! To solve this problem, you only need to set CFLAGS="-march=i586 ..." and then everything works fine! More information can be found at: http://forums.gentoo.org/viewtopic.php?t=17528&highlight=
Created attachment 6434 [details] bugfixed ebuild that solves this bug on k6, k6-2, k6-3 arch. Hi, this is my bugfix to this problem. I used the inherit flag-o-matic to replace the -march=k6(-2,-3) options with the -march=i586 option. This solves this bug on my k6 an k6-2 machine! bye sascha
added your fix.