April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

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>