MySQL Forums
Forum List  »  Install & Repo

Re: Can't Connect To Server.
Posted by: Barry Galbraith
Date: April 16, 2014 09:50PM

>I went into Services and disabled every instsance of mysql except for 5.1 and 5.6.

Are both servers running? Which one is on which port?

>Then I tried to start 5.1 with mysql -h localhost -uroot -p

That's the command line client, not the server. It needs for the server to be running for it to connect to it.
Without a -P<port_number> on the command line, it will default to port 3306. Is the server using port 3306 (whichever that is) running?

>I went into Services and disabled every instsance of mysql except for 5.1 and 5.6.
How many mysql services are there? You really need to remove the unwanted ones to simplfy what you are doing.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
April 16, 2014 04:29PM
Re: Can't Connect To Server.
April 16, 2014 09:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.