Results 1 to 2 of 2

Thread: Mysql error 2002 (hy000)

  1. #1
    Join Date
    2014-May
    Posts
    1

    Mysql error 2002 (hy000)

    Hi greeting everyone of this member ...

    i been stuck on this issue quite time and frustrated me also tried ignore it...
    but recent i start coding with several projects must be run it on server local ...
    everytime turn on seaching around about how to fix this on my system....
    finaaly i got some clue regard with this issue fixed from watching this video *REMOVED*

    my only problem is everytime i turn off my pc reboot system and it force me had to manual l configure it again as again and i get tried of this ...
    i do realize that propably it just change some permission will be easy get fix on this...
    don;t hve any ideo which dir files should i set on ...

    request help from this issue will be grateful...


    mysql -u root -p
    Enter password:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    Last edited by g0tmi1k; 2014-05-15 at 07:08. Reason: Youtube & swearing

  2. #2
    Join Date
    2013-Jul
    Posts
    844
    Are you running kali from a hardrive or a persistent usb?

    It looks to us that you have simply not started mysql as we get the same warning until we do the following:

    Try this it works on our kali-linux 1.05 persistent usb

    In a terminal window type:

    service mysql start [Enter]

    You will get notification starting mysql database etc
    Checking tables etc

    Now type:
    mysql -u root -p

    Note you may not have a password if using a persistent usb so just try hitting enter or enter your password you use for kali-linux if a HD install.

    You will get Welcome Blah Blah Blah and end up with a mysql prompt as indicated below:

    mysql>

    You can now enter mysql commands.

    Musket Team D

Similar Threads

  1. mysql error: 1045 - Access denied for user
    By yghaiming in forum General Archive
    Replies: 1
    Last Post: 2022-07-03, 13:47
  2. Replies: 5
    Last Post: 2017-08-23, 06:57
  3. Masscan UI // Webpage ~ php5 php5-mysql mysql-server
    By Ceruleancerise in forum General Archive
    Replies: 2
    Last Post: 2017-07-02, 13:16
  4. Troubleshooting MySQL
    By carmeloojr in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-12-12, 16:05
  5. mysql server runs but reports error in tables
    By SeTh in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2014-06-02, 10:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •