How To: Reset Linux MySQL Root user password – NetSecNow Kali Linux 2.0




Learn More at: https://www.PentesterUniversity.org A quick tutorial on how to reset your lost root mysql password via terminal. Use Caution when editing …

Original source


25 responses to “How To: Reset Linux MySQL Root user password – NetSecNow Kali Linux 2.0”

  1. So when I get to the step where we enter `mysql -u root` I get the following error message,

    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")

    Seems like I'm doing something wrong. I dont particularly remember ever being prompted to set up a MYSQL server when installing Kali, maybe I never installed it and thats the problem ?
    Any help would be greatly appreciated

  2. I've been doing right what you've said but when I restart it gives me
    'job for mysql.service failed because the control process exited with the error code. '
    Now it doesn't neither restart or start normally, what should I do?

  3. After trying to restart mysql I got the message "Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details"
    What do I do from here?

  4. I tried the update user set password=PASSWORD(“yournewpasswordhere”) where user='root'; command but it tells me ERROR 1054 (42S22): Unknown column ("yournewpasswordhere") where user='root'; How do i fix this?

  5. You think you can do some videos on rooting? And also I think you should try out a Linux called backbox it is a great distro for pen testers based off Ubuntu 14.04 I think you should take a look at it!

  6. hey i really need some help. i saw your "instal and configure TOr with PRoxychains" video and i was curious how to activate your tor after you turn your pc off and back on. i booted my laptop and i typed in " service tor status" said it was (dead). Also i was following your video and everything went smoothly but then i tried it on my own and i typed "proxychains iceweasel http://www.ipchicken.com" it said that it kept timing out over and over and then it said that http://www.ipchicken.com does not exist.

    let me know if you need any more info. im sorry i didnt type in exactly what it said in the terminal but i cant copy and paste it in the comment box..

Leave a Reply