Here's a gratuitous mysql initdb file that not only
fixes the mysql5 setup problem but does a full cleanup
to the file which was badly needed. For 0.9.5.
Ouch, there's another bug in this version of initdb-mysql. In the lxr_releases table, one of the fields is left off the primary key. The line:
PRIMARY KEY \(\`fileid\`\)
Should instead be:
PRIMARY KEY \(\`fileid\`,\`release\`\)
Also, I don't know why the comment "/* Broken */" appears before this table... it's certainly broken without the release in the primary key, since many different releases can have the same fileid present!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=30808
Originator: NO
Nice, but there's a bug here; the last line should read:
GRANT ALL ON `lxrtest`.* TO `lxr`@`localhost`;
(note the extra backticks in the user@host field).
Logged In: YES
user_id=30808
Originator: NO
Whoops. Change `lxrtest` back to `lxr` :)
Logged In: YES
user_id=30808
Originator: NO
Ouch, there's another bug in this version of initdb-mysql. In the lxr_releases table, one of the fields is left off the primary key. The line:
Should instead be:
Also, I don't know why the comment "/* Broken */" appears before this table... it's certainly broken without the release in the primary key, since many different releases can have the same fileid present!
Fixed sometime in the past