November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

MySQL 5.8 starts and then instantly stops

MySQL 5.8 starts and then instantly stops
Everything worked perfectly except one of the final steps, launching mysql:

mysqld –skip-grant-tables –user=mysql
Was giving me the following message and then shutting down:

[ERROR] Can’t find messagefile ‘/usr/share/errmsg.sys’
After some googling I found the solution to be adding the following flag:

–lc-messages-dir=”/usr/local/mysql/share/english/”
To launch it and have it actually work, I used the following command:

mysqld –skip-grant-tables –user=mysql –lc-messages-dir=”/usr/local/mysql/share/english/

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>