Results 1 to 4 of 4

Thread: Could not connect to server localhost as root.Can't connect to MySQL server on 'local

  1. #1
    lobon666 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    2

    Default Could not connect to server localhost as root.Can't connect to MySQL server on 'local

    Hi

    I've benn using SugarCRM for one Year and everything was fine till the change of motherboard. Rest of components are the same.

    After installing new motherboard i have run my system (Windows XP SP2). After first run everything was warking just fine.
    When hard reset was done (hard reset becouse of by my pal he steps on the cable and turns off computer). I've turn my computer and when i am trying to connect im getting error message.

    Could not connect to server localhost as root.Can't connect to MySQL server on 'localhost' (10061).

    Even when im trying to stop MySql service im getting error message:

    can't connect to MySQL server on 'localhost' <10061>'

    when im doing:

    telnet localhost 8080 - cannot connect

    Does anybody knows how to fix this.

    Thanks for any tries of helping me.

  2. #2
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: Could not connect to server localhost as root.Can't connect to MySQL server on 'l

    Sounds like you may have corrupted a file.

    Have you tried connecting via a tool like phpmyadmin (linux) or whatever is available for windows?
    Also use your mysqladmin tool, there is a way (forgot the command) to access the mysql DB without the password. Do a yahoo search for reseting mysql admin password. Should find instruction for this.

    I would suspect the User table in mysql is contaminated. Is it possible to blow away the DB and start over?

    BTW, before messing around, You have a good backup right? You have a recent backup from before the hard reset right? If so backup the current mysql files just to be safe and copy the backup files over the current.

    Try to reconnect again.

    Good luck,
    Paris

  3. #3
    lobon666 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    2

    Default Re: Could not connect to server localhost as root.Can't connect to MySQL server on 'l

    Quote Originally Posted by ptemplin7
    Sounds like you may have corrupted a file.
    Tnx for advice.
    Problem solved.
    It was corrupted file :]

    Case closed

  4. #4
    OPSugar is offline Member
    Join Date
    Apr 2008
    Posts
    6

    Default Re: Could not connect to server localhost as root.Can't connect to MySQL server on 'local

    What file was corrupted? Was it the MySQL install? Database? How did you fix it?

    Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 2008-04-21, 11:09 PM
  2. Replies: 2
    Last Post: 2007-07-01, 09:55 PM
  3. Huge backups -- normal?
    By Liam in forum Help
    Replies: 5
    Last Post: 2007-05-02, 05:36 AM
  4. Replies: 7
    Last Post: 2007-02-14, 03:48 PM
  5. Replies: 0
    Last Post: 2006-01-02, 03:21 PM

Bookmarks

Posting Permissions

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