Can't connect to local MySQL server through socket (trying to reset MySQL root password) ...
Limit for e and 1/e
Need a suitable toxic chemical for a murder plot in my novel
I'm having difficulty getting my players to do stuff in a sandbox campaign
Autumning in love
How to colour the US map with Yellow, Green, Red and Blue to minimize the number of states with the colour of Green
Why does tar appear to skip file contents when output file is /dev/null?
Single author papers against my advisor's will?
Is it possible to ask for a hotel room without minibar/extra services?
Am I ethically obligated to go into work on an off day if the reason is sudden?
Do working physicists consider Newtonian mechanics to be "falsified"?
When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?
What do you call a plan that's an alternative plan in case your initial plan fails?
3 doors, three guards, one stone
Why is "Captain Marvel" translated as male in Portugal?
What are the performance impacts of 'functional' Rust?
Mortgage adviser recommends a longer term than necessary combined with overpayments
Simulating Exploding Dice
Estimate capacitor parameters
Antler Helmet: Can it work?
Can I throw a sword that doesn't have the Thrown property at someone?
How to rotate it perfectly?
Notation for two qubit composite product state
Unable to start mainnet node docker container
Fishing simulator
Can't connect to local MySQL server through socket (trying to reset MySQL root password)
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionAfter fresh install of mysql-server, can't log in with `mysql root -u`Trying to create tunnel to MySQL through SSHCan't start mysql on Fedora 19MySQL service doesn't startCannot login root user after upgrading MySQL from 5.6 to 5.7Error 2002 MYSQL OS X 10.11After fresh install of mysql-server, can't log in with `mysql root -u`Trying to reset root password on mysqlCan't connect to local MySQL server through socketInstall MySQL Server with prompt for initial passwordcan't reset MySQL root password
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
On Linux Mint, I'd like to reset the MySQL root password. From this answer, I've run the commands:
sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &
mysql -u root
after which I receive:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
Help appreciated.
mysql
add a comment |
On Linux Mint, I'd like to reset the MySQL root password. From this answer, I've run the commands:
sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &
mysql -u root
after which I receive:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
Help appreciated.
mysql
add a comment |
On Linux Mint, I'd like to reset the MySQL root password. From this answer, I've run the commands:
sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &
mysql -u root
after which I receive:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
Help appreciated.
mysql
On Linux Mint, I'd like to reset the MySQL root password. From this answer, I've run the commands:
sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &
mysql -u root
after which I receive:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
Help appreciated.
mysql
mysql
asked 4 mins ago
SteveSteve
678
678
add a comment |
add a 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%2f512468%2fcant-connect-to-local-mysql-server-through-socket-trying-to-reset-mysql-root-p%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%2f512468%2fcant-connect-to-local-mysql-server-through-socket-trying-to-reset-mysql-root-p%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