Failed to start mariadb server
starting mariadb server as a systemd service (systemctl start mariadb-server.service) fails with error message:
Incompatible header in messagefile '/usr/share/mysql/english/errmsg.sys'. Probably from another version of MariaDB".
The contents of errmsg.sys are something like below (sharing only few lines here):
*<84>
¡
Î
^A^K8^Kd^K¶^K^G^Le^L}^L<92>^L°^LÇ^Lø^L^O^Mb^M¥^Mñ^M<^NZ^N<92>^N°^NN^O<94>^OÇ^Oô^O7^PN^Pn^P}^P©^Pß^P ^QP^Q<86>^Q¨^QÇ^QZ^Rh^R<84>^Rµ^Rá^R^C^S$^SB^S<8f>^S³^SÏ^Sï^S)^T:^TÉ^T=^U~^Uö^U^T^V@^Vd^V<86>^V¿^Væ^V^H^Wj^W©^W^L^Xv^X¤^XÓ^X^Y<8e>^Y¬^YÆ^Yå^YW^Z<99>^ZÕ^Z%^[<81>^[°^[Ö^[+^e^è^,^]L^]<*
There is another file, errmsg-utf8.txt at the folder /usr/share/mysql. The content of errmsg-utf8.txt is something like below (sharing only few lines here):
languages czech=cze latin2, danish=dan latin1, dutch=nla latin1, english=eng latin1, estonian=est latin7, french=fre latin1, german=ger latin1, greek=greek greek, hungarian=hun latin2, italian=ita latin1, japanese=jpn ujis, japanese-sjis=jps sjis, korean=kor euckr, norwegian-ny=norwegian-ny latin1, norwegian=nor latin1, polish=pol latin2, portuguese=por latin1, romanian=rum latin2, russian=rus koi8r, serbian=serbian cp1250, slovak=slo latin2, spanish=spa latin1, swedish=swe latin1, ukrainian=ukr koi8u;
default-language eng
start-error-number 1000
I have copied errmsg-utf8.txt file contents to errmsg.sys using the cat command:cat /usr/share/mysql/errmsg-utf8.txt > /usr/share/mysql/english/errmsg.sys
and tried to start mariadb service. Still it shows the same error and service failed to start.
Tried to make things work out but not sure if my approach is the right way to solve the issue.
mariadb-server.service:
[Unit]
Description=MariaDB server
[Service]
Type=simple
ExecStart=/opt/mariadb/10.3.9/bin/mysqld --basedir=/opt/mariadb/10.3.9 --datadir=/var/lib/mysql --lc-messages-dir=/usr/share/mysql/english --plugin-dir=/opt/mariadb/10.3.9/lib/plugin --user=root --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
ExecStop=always
Environment=
RestartSec=10**
[Install]
WantedBy=default.target
startup mariadb system-failure
|
show 1 more comment
starting mariadb server as a systemd service (systemctl start mariadb-server.service) fails with error message:
Incompatible header in messagefile '/usr/share/mysql/english/errmsg.sys'. Probably from another version of MariaDB".
The contents of errmsg.sys are something like below (sharing only few lines here):
*<84>
¡
Î
^A^K8^Kd^K¶^K^G^Le^L}^L<92>^L°^LÇ^Lø^L^O^Mb^M¥^Mñ^M<^NZ^N<92>^N°^NN^O<94>^OÇ^Oô^O7^PN^Pn^P}^P©^Pß^P ^QP^Q<86>^Q¨^QÇ^QZ^Rh^R<84>^Rµ^Rá^R^C^S$^SB^S<8f>^S³^SÏ^Sï^S)^T:^TÉ^T=^U~^Uö^U^T^V@^Vd^V<86>^V¿^Væ^V^H^Wj^W©^W^L^Xv^X¤^XÓ^X^Y<8e>^Y¬^YÆ^Yå^YW^Z<99>^ZÕ^Z%^[<81>^[°^[Ö^[+^e^è^,^]L^]<*
There is another file, errmsg-utf8.txt at the folder /usr/share/mysql. The content of errmsg-utf8.txt is something like below (sharing only few lines here):
languages czech=cze latin2, danish=dan latin1, dutch=nla latin1, english=eng latin1, estonian=est latin7, french=fre latin1, german=ger latin1, greek=greek greek, hungarian=hun latin2, italian=ita latin1, japanese=jpn ujis, japanese-sjis=jps sjis, korean=kor euckr, norwegian-ny=norwegian-ny latin1, norwegian=nor latin1, polish=pol latin2, portuguese=por latin1, romanian=rum latin2, russian=rus koi8r, serbian=serbian cp1250, slovak=slo latin2, spanish=spa latin1, swedish=swe latin1, ukrainian=ukr koi8u;
default-language eng
start-error-number 1000
I have copied errmsg-utf8.txt file contents to errmsg.sys using the cat command:cat /usr/share/mysql/errmsg-utf8.txt > /usr/share/mysql/english/errmsg.sys
and tried to start mariadb service. Still it shows the same error and service failed to start.
Tried to make things work out but not sure if my approach is the right way to solve the issue.
mariadb-server.service:
[Unit]
Description=MariaDB server
[Service]
Type=simple
ExecStart=/opt/mariadb/10.3.9/bin/mysqld --basedir=/opt/mariadb/10.3.9 --datadir=/var/lib/mysql --lc-messages-dir=/usr/share/mysql/english --plugin-dir=/opt/mariadb/10.3.9/lib/plugin --user=root --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
ExecStop=always
Environment=
RestartSec=10**
[Install]
WantedBy=default.target
startup mariadb system-failure
3
just reinstalling the package should resolve that, support.plesk.com/hc/en-us/articles/…
– rAlen
Jan 1 at 18:11
Thanks @rAlen . I tried starting the service after installing the package : (rpm -qf /usr/share/mysql/english/errmsg.sys) . When i install package /usr/share/mysql/english/errmsg.sys , this is the output am getting mariadb-libs-5.5.56-2.el7.x86_64 Still facing the same issue. One more point is , I am installing mariadb from binary tar.gz .Is there any other work around if mariadb is installed using binary (tar.gz).
– Rabiya1234
Jan 2 at 6:09
If you installed MariaDB from tar.gz, then you need to do a reinstall using tar.gz also, but I would suggest you always use packages, you can add MariaDB repo to your OS to always have latest version available, for instance for CentOS downloads.mariadb.org/mariadb/repositories/… you can try installing the version you have from repo, after you add MariaDB repos
– rAlen
Jan 2 at 8:02
Is there no errmsg.txt in /opt/mariadb/10.3.9/lib/ or similar? As you specify most of the directories to be under /opt/mariadb, I find it strange that you have--lc-messages-dir=/usr/share/mysql/english, I would have expected that to be somewher in /opt/mariadb as well; perhaps the /usr/share/mysql is from a real (old) MySQL installation. As you're installing from tar.gz then you have no package management to clean up old crud.
– wurtel
Jan 2 at 8:59
@rAlen yeah, i reinstalled mariadb(stopped all mysql processes and removed mariadb related directories) and tried starting the service. Issue still exists. I think reinstalling ( binaries tar.gz) didnt help because there might be some issue in clean up as wurtel was saying. And yes, installing from packages would be a better choice always to get latest version installed.Currently , am working on something where I am supposed to install only using binaries.
– Rabiya1234
Jan 2 at 19:17
|
show 1 more comment
starting mariadb server as a systemd service (systemctl start mariadb-server.service) fails with error message:
Incompatible header in messagefile '/usr/share/mysql/english/errmsg.sys'. Probably from another version of MariaDB".
The contents of errmsg.sys are something like below (sharing only few lines here):
*<84>
¡
Î
^A^K8^Kd^K¶^K^G^Le^L}^L<92>^L°^LÇ^Lø^L^O^Mb^M¥^Mñ^M<^NZ^N<92>^N°^NN^O<94>^OÇ^Oô^O7^PN^Pn^P}^P©^Pß^P ^QP^Q<86>^Q¨^QÇ^QZ^Rh^R<84>^Rµ^Rá^R^C^S$^SB^S<8f>^S³^SÏ^Sï^S)^T:^TÉ^T=^U~^Uö^U^T^V@^Vd^V<86>^V¿^Væ^V^H^Wj^W©^W^L^Xv^X¤^XÓ^X^Y<8e>^Y¬^YÆ^Yå^YW^Z<99>^ZÕ^Z%^[<81>^[°^[Ö^[+^e^è^,^]L^]<*
There is another file, errmsg-utf8.txt at the folder /usr/share/mysql. The content of errmsg-utf8.txt is something like below (sharing only few lines here):
languages czech=cze latin2, danish=dan latin1, dutch=nla latin1, english=eng latin1, estonian=est latin7, french=fre latin1, german=ger latin1, greek=greek greek, hungarian=hun latin2, italian=ita latin1, japanese=jpn ujis, japanese-sjis=jps sjis, korean=kor euckr, norwegian-ny=norwegian-ny latin1, norwegian=nor latin1, polish=pol latin2, portuguese=por latin1, romanian=rum latin2, russian=rus koi8r, serbian=serbian cp1250, slovak=slo latin2, spanish=spa latin1, swedish=swe latin1, ukrainian=ukr koi8u;
default-language eng
start-error-number 1000
I have copied errmsg-utf8.txt file contents to errmsg.sys using the cat command:cat /usr/share/mysql/errmsg-utf8.txt > /usr/share/mysql/english/errmsg.sys
and tried to start mariadb service. Still it shows the same error and service failed to start.
Tried to make things work out but not sure if my approach is the right way to solve the issue.
mariadb-server.service:
[Unit]
Description=MariaDB server
[Service]
Type=simple
ExecStart=/opt/mariadb/10.3.9/bin/mysqld --basedir=/opt/mariadb/10.3.9 --datadir=/var/lib/mysql --lc-messages-dir=/usr/share/mysql/english --plugin-dir=/opt/mariadb/10.3.9/lib/plugin --user=root --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
ExecStop=always
Environment=
RestartSec=10**
[Install]
WantedBy=default.target
startup mariadb system-failure
starting mariadb server as a systemd service (systemctl start mariadb-server.service) fails with error message:
Incompatible header in messagefile '/usr/share/mysql/english/errmsg.sys'. Probably from another version of MariaDB".
The contents of errmsg.sys are something like below (sharing only few lines here):
*<84>
¡
Î
^A^K8^Kd^K¶^K^G^Le^L}^L<92>^L°^LÇ^Lø^L^O^Mb^M¥^Mñ^M<^NZ^N<92>^N°^NN^O<94>^OÇ^Oô^O7^PN^Pn^P}^P©^Pß^P ^QP^Q<86>^Q¨^QÇ^QZ^Rh^R<84>^Rµ^Rá^R^C^S$^SB^S<8f>^S³^SÏ^Sï^S)^T:^TÉ^T=^U~^Uö^U^T^V@^Vd^V<86>^V¿^Væ^V^H^Wj^W©^W^L^Xv^X¤^XÓ^X^Y<8e>^Y¬^YÆ^Yå^YW^Z<99>^ZÕ^Z%^[<81>^[°^[Ö^[+^e^è^,^]L^]<*
There is another file, errmsg-utf8.txt at the folder /usr/share/mysql. The content of errmsg-utf8.txt is something like below (sharing only few lines here):
languages czech=cze latin2, danish=dan latin1, dutch=nla latin1, english=eng latin1, estonian=est latin7, french=fre latin1, german=ger latin1, greek=greek greek, hungarian=hun latin2, italian=ita latin1, japanese=jpn ujis, japanese-sjis=jps sjis, korean=kor euckr, norwegian-ny=norwegian-ny latin1, norwegian=nor latin1, polish=pol latin2, portuguese=por latin1, romanian=rum latin2, russian=rus koi8r, serbian=serbian cp1250, slovak=slo latin2, spanish=spa latin1, swedish=swe latin1, ukrainian=ukr koi8u;
default-language eng
start-error-number 1000
I have copied errmsg-utf8.txt file contents to errmsg.sys using the cat command:cat /usr/share/mysql/errmsg-utf8.txt > /usr/share/mysql/english/errmsg.sys
and tried to start mariadb service. Still it shows the same error and service failed to start.
Tried to make things work out but not sure if my approach is the right way to solve the issue.
mariadb-server.service:
[Unit]
Description=MariaDB server
[Service]
Type=simple
ExecStart=/opt/mariadb/10.3.9/bin/mysqld --basedir=/opt/mariadb/10.3.9 --datadir=/var/lib/mysql --lc-messages-dir=/usr/share/mysql/english --plugin-dir=/opt/mariadb/10.3.9/lib/plugin --user=root --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
ExecStop=always
Environment=
RestartSec=10**
[Install]
WantedBy=default.target
startup mariadb system-failure
startup mariadb system-failure
edited Jan 1 at 19:39
valiano
200111
200111
asked Jan 1 at 17:50
Rabiya1234Rabiya1234
62
62
3
just reinstalling the package should resolve that, support.plesk.com/hc/en-us/articles/…
– rAlen
Jan 1 at 18:11
Thanks @rAlen . I tried starting the service after installing the package : (rpm -qf /usr/share/mysql/english/errmsg.sys) . When i install package /usr/share/mysql/english/errmsg.sys , this is the output am getting mariadb-libs-5.5.56-2.el7.x86_64 Still facing the same issue. One more point is , I am installing mariadb from binary tar.gz .Is there any other work around if mariadb is installed using binary (tar.gz).
– Rabiya1234
Jan 2 at 6:09
If you installed MariaDB from tar.gz, then you need to do a reinstall using tar.gz also, but I would suggest you always use packages, you can add MariaDB repo to your OS to always have latest version available, for instance for CentOS downloads.mariadb.org/mariadb/repositories/… you can try installing the version you have from repo, after you add MariaDB repos
– rAlen
Jan 2 at 8:02
Is there no errmsg.txt in /opt/mariadb/10.3.9/lib/ or similar? As you specify most of the directories to be under /opt/mariadb, I find it strange that you have--lc-messages-dir=/usr/share/mysql/english, I would have expected that to be somewher in /opt/mariadb as well; perhaps the /usr/share/mysql is from a real (old) MySQL installation. As you're installing from tar.gz then you have no package management to clean up old crud.
– wurtel
Jan 2 at 8:59
@rAlen yeah, i reinstalled mariadb(stopped all mysql processes and removed mariadb related directories) and tried starting the service. Issue still exists. I think reinstalling ( binaries tar.gz) didnt help because there might be some issue in clean up as wurtel was saying. And yes, installing from packages would be a better choice always to get latest version installed.Currently , am working on something where I am supposed to install only using binaries.
– Rabiya1234
Jan 2 at 19:17
|
show 1 more comment
3
just reinstalling the package should resolve that, support.plesk.com/hc/en-us/articles/…
– rAlen
Jan 1 at 18:11
Thanks @rAlen . I tried starting the service after installing the package : (rpm -qf /usr/share/mysql/english/errmsg.sys) . When i install package /usr/share/mysql/english/errmsg.sys , this is the output am getting mariadb-libs-5.5.56-2.el7.x86_64 Still facing the same issue. One more point is , I am installing mariadb from binary tar.gz .Is there any other work around if mariadb is installed using binary (tar.gz).
– Rabiya1234
Jan 2 at 6:09
If you installed MariaDB from tar.gz, then you need to do a reinstall using tar.gz also, but I would suggest you always use packages, you can add MariaDB repo to your OS to always have latest version available, for instance for CentOS downloads.mariadb.org/mariadb/repositories/… you can try installing the version you have from repo, after you add MariaDB repos
– rAlen
Jan 2 at 8:02
Is there no errmsg.txt in /opt/mariadb/10.3.9/lib/ or similar? As you specify most of the directories to be under /opt/mariadb, I find it strange that you have--lc-messages-dir=/usr/share/mysql/english, I would have expected that to be somewher in /opt/mariadb as well; perhaps the /usr/share/mysql is from a real (old) MySQL installation. As you're installing from tar.gz then you have no package management to clean up old crud.
– wurtel
Jan 2 at 8:59
@rAlen yeah, i reinstalled mariadb(stopped all mysql processes and removed mariadb related directories) and tried starting the service. Issue still exists. I think reinstalling ( binaries tar.gz) didnt help because there might be some issue in clean up as wurtel was saying. And yes, installing from packages would be a better choice always to get latest version installed.Currently , am working on something where I am supposed to install only using binaries.
– Rabiya1234
Jan 2 at 19:17
3
3
just reinstalling the package should resolve that, support.plesk.com/hc/en-us/articles/…
– rAlen
Jan 1 at 18:11
just reinstalling the package should resolve that, support.plesk.com/hc/en-us/articles/…
– rAlen
Jan 1 at 18:11
Thanks @rAlen . I tried starting the service after installing the package : (rpm -qf /usr/share/mysql/english/errmsg.sys) . When i install package /usr/share/mysql/english/errmsg.sys , this is the output am getting mariadb-libs-5.5.56-2.el7.x86_64 Still facing the same issue. One more point is , I am installing mariadb from binary tar.gz .Is there any other work around if mariadb is installed using binary (tar.gz).
– Rabiya1234
Jan 2 at 6:09
Thanks @rAlen . I tried starting the service after installing the package : (rpm -qf /usr/share/mysql/english/errmsg.sys) . When i install package /usr/share/mysql/english/errmsg.sys , this is the output am getting mariadb-libs-5.5.56-2.el7.x86_64 Still facing the same issue. One more point is , I am installing mariadb from binary tar.gz .Is there any other work around if mariadb is installed using binary (tar.gz).
– Rabiya1234
Jan 2 at 6:09
If you installed MariaDB from tar.gz, then you need to do a reinstall using tar.gz also, but I would suggest you always use packages, you can add MariaDB repo to your OS to always have latest version available, for instance for CentOS downloads.mariadb.org/mariadb/repositories/… you can try installing the version you have from repo, after you add MariaDB repos
– rAlen
Jan 2 at 8:02
If you installed MariaDB from tar.gz, then you need to do a reinstall using tar.gz also, but I would suggest you always use packages, you can add MariaDB repo to your OS to always have latest version available, for instance for CentOS downloads.mariadb.org/mariadb/repositories/… you can try installing the version you have from repo, after you add MariaDB repos
– rAlen
Jan 2 at 8:02
Is there no errmsg.txt in /opt/mariadb/10.3.9/lib/ or similar? As you specify most of the directories to be under /opt/mariadb, I find it strange that you have
--lc-messages-dir=/usr/share/mysql/english, I would have expected that to be somewher in /opt/mariadb as well; perhaps the /usr/share/mysql is from a real (old) MySQL installation. As you're installing from tar.gz then you have no package management to clean up old crud.– wurtel
Jan 2 at 8:59
Is there no errmsg.txt in /opt/mariadb/10.3.9/lib/ or similar? As you specify most of the directories to be under /opt/mariadb, I find it strange that you have
--lc-messages-dir=/usr/share/mysql/english, I would have expected that to be somewher in /opt/mariadb as well; perhaps the /usr/share/mysql is from a real (old) MySQL installation. As you're installing from tar.gz then you have no package management to clean up old crud.– wurtel
Jan 2 at 8:59
@rAlen yeah, i reinstalled mariadb(stopped all mysql processes and removed mariadb related directories) and tried starting the service. Issue still exists. I think reinstalling ( binaries tar.gz) didnt help because there might be some issue in clean up as wurtel was saying. And yes, installing from packages would be a better choice always to get latest version installed.Currently , am working on something where I am supposed to install only using binaries.
– Rabiya1234
Jan 2 at 19:17
@rAlen yeah, i reinstalled mariadb(stopped all mysql processes and removed mariadb related directories) and tried starting the service. Issue still exists. I think reinstalling ( binaries tar.gz) didnt help because there might be some issue in clean up as wurtel was saying. And yes, installing from packages would be a better choice always to get latest version installed.Currently , am working on something where I am supposed to install only using binaries.
– Rabiya1234
Jan 2 at 19:17
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f491906%2ffailed-to-start-mariadb-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f491906%2ffailed-to-start-mariadb-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
just reinstalling the package should resolve that, support.plesk.com/hc/en-us/articles/…
– rAlen
Jan 1 at 18:11
Thanks @rAlen . I tried starting the service after installing the package : (rpm -qf /usr/share/mysql/english/errmsg.sys) . When i install package /usr/share/mysql/english/errmsg.sys , this is the output am getting mariadb-libs-5.5.56-2.el7.x86_64 Still facing the same issue. One more point is , I am installing mariadb from binary tar.gz .Is there any other work around if mariadb is installed using binary (tar.gz).
– Rabiya1234
Jan 2 at 6:09
If you installed MariaDB from tar.gz, then you need to do a reinstall using tar.gz also, but I would suggest you always use packages, you can add MariaDB repo to your OS to always have latest version available, for instance for CentOS downloads.mariadb.org/mariadb/repositories/… you can try installing the version you have from repo, after you add MariaDB repos
– rAlen
Jan 2 at 8:02
Is there no errmsg.txt in /opt/mariadb/10.3.9/lib/ or similar? As you specify most of the directories to be under /opt/mariadb, I find it strange that you have
--lc-messages-dir=/usr/share/mysql/english, I would have expected that to be somewher in /opt/mariadb as well; perhaps the /usr/share/mysql is from a real (old) MySQL installation. As you're installing from tar.gz then you have no package management to clean up old crud.– wurtel
Jan 2 at 8:59
@rAlen yeah, i reinstalled mariadb(stopped all mysql processes and removed mariadb related directories) and tried starting the service. Issue still exists. I think reinstalling ( binaries tar.gz) didnt help because there might be some issue in clean up as wurtel was saying. And yes, installing from packages would be a better choice always to get latest version installed.Currently , am working on something where I am supposed to install only using binaries.
– Rabiya1234
Jan 2 at 19:17