visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: ERROR 2003 (HY000): Can't connect to mysql server after reinstallation


By: Bernard France  Date: 15/05/2006 08:52:31  English  Points: 20 Status: Answered
Quality : Excellent
Hello, I had to re-install MySql ; I copied the backuped server files over the existing installation directory ; the datadir is correct ; the my.ini file in %windir% is correct, and nevertheless the server refuses to start. Why ?

I got : ERROR 2003 (HY000): Can't connect to mysql server
By: VGR Date: 15/05/2006 08:56:57 English  Type : Comment
Hello, there are various possibilities for this error to occur. grossly, the MySql server hasn't started. Now you've to help us determine WHY it hasn't started.

You've to look into the .ERR file that the server generated upon startup. Look into your installation directory (as per the online documentation) or, better IMHO, directly in your ~datadir

it's named %servername%.err

what's in there ?
By: Bernard Date: 15/05/2006 09:07:46 English  Type : Comment
strangely enough, I found THAT in the .ERR file :

060515 7:53:05 Fatal error: Can't open privilege tables: Incorrect information in file: '.\mysql\user.frm'

I just installed the same ySql as before !?! Is this a OLD_PASSWORD() issue ? Do I hav to run fix_privilege_tables ? ;-)
By: VGR Date: 15/05/2006 09:11:17 English  Type : Answer
Hum :D

I'm ***pretty sure*** you DOWNGRADED MySql !!!

By any unluck, didn't you have installed MySql 5.x on your system ? And now, aren't you installing a MySql 4.x on it ? ;-)

If this is the case, re-install (overwrite files from the ZIP) the 5.x server and everything should be FINE.

Hope this helps

Do register to be able to answer

EContact
browser fav
page generated in 93.455790 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page