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

Problem installing rubystack

Subscribe to Problem installing rubystack 2 post(s), 2 voice(s)

 
Avatar James 2 post(s)

Hello there, thanks for developing RubyStack, Ive used it on Vista and it was very simple to use! However, I’m experiencing problems installing it on XP.

Firstly I got the same error as this thread: https://bitnami.com/forums/forums/20/topics/162 Namely… ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)

My bitrock_installer_.log contained the following…

Waiting for MySQL to Start.
Executing C:\Program Files\BitNami RubyStack/mysql/scripts/myscript.bat
Script exit code: 1

Script output:

Script stderr:
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)

Error running C:\Program Files\BitNami RubyStack/mysql/scripts/myscript.bat root : ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
Error running C:\Program Files\BitNami RubyStack/mysql/scripts/myscript.bat root : ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)

It looked to me that the MySQL service was not actually starting correctly, so during the installation (while the installer was waiting for MySQL to start), I manually ran mysqld.exe.

I then received the following error box while the installer was shutting down MySQL… There has been an error.
Error running C:\BitNami RubyStack\mysql\bin\mysqladmin.exe—defaults-file=C:\PROGRA1\BitNami RubyStack\mysql\my.ini -u root—password=password shutdown : Could not open required defaults file: C:\PROGRA1\BitNami
Fatal error in defaults handling. Program aborted
The application will exit now

My bitrock_installer_.log contained the following…

Configuring database
Shutting down MySQL
Executing C:\Program Files\BitNami RubyStack\mysql\bin\mysqladmin.exe
Script exit code: 1

Script output:

Script stderr:
Could not open required defaults file: C:\PROGRA1\BitNami
Fatal error in defaults handling. Program aborted

Error running C:\Program Files\BitNami RubyStack\mysql\bin\mysqladmin.exe—defaults-file=C:\PROGRA1\BitNami RubyStack\mysql\my.ini -u root—password=redhotmagma shutdown : Could not open required defaults file: C:\PROGRA1\BitNami
Fatal error in defaults handling. Program aborted
Error running C:\Program Files\BitNami RubyStack\mysql\bin\mysqladmin.exe—defaults-file=C:\PROGRA
1\BitNami RubyStack\mysql\my.ini -u root—password=redhotmagma shutdown : Could not open required defaults file: C:\PROGRA~1\BitNami
Fatal error in defaults handling. Program aborted

Looks to me like a quoting issue. You know how DOS gets confused by spaces…

Breaking news: Managed to install it to C:\RubyStack perfectly. Sorry if this post rambled on a bit, ive been watching House, trying to get RubyStack installed and writing this at the same time :D In short, you need to add quotes!! Hit me back if im not making sense.

James

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

Hi James,

Thanks for report this issue. We are trying to reproduce this error but all our tests runs well because the installer translates the long path to 8:3 notation path. It should to show

C:\PROGRA~ 1\BITNAM~ 1\mysql\my.ini

into the log file. In addition to this, you shouldn’t to start MySQL during the installation, the installer should to start it, are you using a firewall that stop connection to MySQL port? Are you using strange characters in your mysql password as (^¨’·) or similar? I can see in your error report that you used “C:\BitNami RubyStack\mysql\bin\mysqladmin.exe” and the script call “C:\PROGRA~1\BitNami RubyStack”, the paths are differents.

I’m glad to hear you can install into C:\RubyStack,

Cheers.