This forum is no longer active. Please post your questions to our new community site

Forums Tracks

Can't connect to MySql during install

Subscribe to Can't connect to MySql during install 7 post(s), 2 voice(s)

 
Avatar Paul 16 post(s)

Windows xp trying to install 1.7rc2 (however, same error on 1.6) I have installed this on another XP system successfully. I shut down my virus checker (uninstalled it actually). During the install process but after all the files are unpacked I get this error:

“Error running C:\Program Files\BitNami Tracks Stack\mysql\scripts\myscript.bat mypassword:ERROR 2003(HY000): Can’t connect to MySQL server on ‘localhost’ (10061)”

I have seen this error on every install. I have looked at the services dialog twice in one case tracksMySQL and tracksApache were both present but neither were running. In the second case neither service was even present in the list.

Any Ideas?

Best Regards

 
Avatar Paul 16 post(s)

Some additional information. The 2nd level scripts that create and start services use parameters like

@BITROCK_APACHE_SERVICE_NAME@

which may not be getting set properly? Just a speculation.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi Paul,

It could be the Windows firewall which it does not allow to connect to MySQL port. Could you post the <installation_directory>/mysql/data/mysqld.log file?

 
Avatar Paul 16 post(s)

Well, this is strange – no log files anywhere in the entire C:\Program Files\BitNami Tracks Stack\ folder. Generally after a failed install the installer program asks if the user wants to quit and then it uninstalls everything. This last time I killed the program in task manager once the error dialog showed up.

I checked – I don’t have windows firewall turned on. Also before the last install I stopped every service I thought might cause a problem.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi, yes if you cancel the installation the installer remove all files. Try to install and no cancel the installation when the error appears.

Cheers.

 
Avatar Paul 16 post(s)

I waited until the error appeared and then searched the bitnami install folder. There was only one log file in the folder and it was an install log for apache and the last entry was about 5 minutes before the error turned up. In fact there are no files in the folder that were updated any sooner that 2 or 3 minutes before the error dialog turned up. I looked for all text files that had been changed today on the system drive. Two files from the bitnami folder showed up – a readme file and the above mentioned apache log.

Anyway I am stumped – this exact same installer worked fine on my XP machine at work. I may have to give up or try installing everything one piece at a time. Not looking forward to that.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

It is strange. Could you try to install in a folder without spaces similar to c:\drupal?

Forums Tracks