[MySQL] Fatal error... What the heck?

Discussion in 'Linux & BSD' started by Glaanieboy, Nov 15, 2004.

  1. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    I just compiled and installed MySQL 4.1, but for some reason it won't start. I get this error:
    Code:
    Fatal error: Can't open privilege tables: File '/usr/share/mysql/charsets/?.conf' not found (Errcode: 2)
    The tables are present and correctly chown'ed (mysql:mysql) and I modified /etc/rc.d/rc.mysqld to use the correct path for the tables. I have checked the contents of /usr/share/mysql/charsets and it seems there are all kinds of .conf files, but not ?.conf (I am not even sure if a file called ?.conf can exist :confused: ). Must I make a modification to /etc/my.cnf (which is a direct copy of my-medium.cnf from the install dir).
    Help me!
     
  2. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    Oh and using Slackware Linux 10.0
     
  3. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    *walks into empty thread*
    *looks around*
    *shouts*
    *no one hears my shouting*
    *goes away*
     
  4. try reinstalling it maybe somefiles didn't install properly
     
  5. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    Did that 3 times already :rolleyes: But I guess I'll do it again, to see if I missed something.
     
  6. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    To my surprise (is it suprise or surprise (with r), I keep forgetting), reinstalling did work! I only had problems with the /etc/rc.d/rc.mysqld file, but after fixing the paths, it was all done.
     
  7. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    :puke:

    Anyways, you fixed the problem.
     
  8. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    You know what sucks? I installed the wrong version! I installed version 4.1, but I need 4.0, because PHP can't communicate with 4.1. :mad: