silvermoon at July 20th, 2013 02:59 — #1
Hello, I am trying to install bitnami Drupal, Joomla, and WordPress but I can't because the installer keeps raising this error. MySQL is running according to the xammp control panel, I can access my computer via Localhost, antivirus software is disabled and the firewall is down. Yet I keep getting this error and the bitnami installer is too automatic. The problem is obviously not the connection, because MySQl is there, working perfectly, it simply is failing to find it.
Can somebody help please?
victor at July 22nd, 2013 10:45 — #2
Those error are for the BitNami package for XAMPP with these applications you have mention? Could you tell us what is your version of XAMPP? Also, we have updated the applications that supports XAMPP and put them separately:
silvermoon at July 26th, 2013 03:23 — #3
Yes, I downloaded xampp from here: http://www.apachefriends.org/en/xampp-windows.html it's the 1.8.2 version (windows installer). I used exactly those applications you mentioned.
I managed to find a workaround by simpley installing the official Drupal, Wordpress and Joomla packages with that XAMPP. If I tried the bitnami installer, it would say "can't connect to MySQL" but, I would then initiate the standard package install process and it wouldn't complain about it. Ergo, MySQL IS working.
Also, I found a bug you might be interested in: the bitnami installers won't let me use special character whereas the standard packages would let me choose them. This means that I can't use a safe password.
victor at July 26th, 2013 08:58 — #4
I am glad it is working fine using the installers separately. Thank you for reporting it. We will take a look at it. Meanwhile you can set easily a more secure password from the application itself.
silvermoon at July 26th, 2013 13:52 — #5
No no: I mean the bitnami installer for drupal,wordpress, etc. are not working. I downloaded the official wordpress, drupal, etc. from their respective websites and installed them manually. The bitnami packages always raised that mysql error while the offical (no bitnami) packages worked right away.
Sorry for not being too clear
victor at July 29th, 2013 06:42 — #6
No problem. It was my fault. So, just to clarify it, the only-one-application packages give you the same problem as the WordPress+Joomla!+Drupal package?
silvermoon at July 30th, 2013 02:16 — #7
No, THOSE packages are the guilty ones. They are the ones causing trouble. I'm not aware of the all in one package, just these separate installers (one for each CMS).
Am I being clear? I tried exactly those packages and got the "can't connect to MySQL" error. I tried and tried but nothing seemed to work. So I droped Bitnami (for now) and used the official package downloaded from each of the projects' site. Those do work (they can connect to the server).
victor at July 30th, 2013 04:02 — #8
Thank you for clarifying it. I missed to ask you if your MySQL password contains any special character. That could be another reason, but I think the error message would be another one.
mussini at August 10th, 2013 12:35 — #9
I've just (successfully) installed XAMPP on my MacBook Air (10.8.4) and I'm trying to do the same with your Joomla!, Drupal and Wordpress packages; I'm hitting the same error discussed in this topic with all them. Some details on how I'm doing it:
- the XAMPP version is 1.8.3
- I've fixed all the security issues adding the passwords where needed
- MySql is running (green in the XAMPP manager)
- I'm running the installation from terminal with sudo
- the pwd should be fine (for this test I'm using the same pwd everywhere)
- I can interactively login into mysql as root
Any idea of what I'm missing?
Thanks in advance for any help!
mussini at August 11th, 2013 06:22 — #10
The last version of the installer fixed my issue.
beltran at August 11th, 2013 06:26 — #11
Im glad you fixed the issue. Regards.
mussini at August 11th, 2013 06:46 — #12
the strange thing is that only 4 of the modules work!
The issue is fixed for DokuWiki, Drupal, Joomla! and WordPress but all the other modules hit the same issue.
Any idea? Do you think that it's a problem related to the installers or I am doing something wrong?
kaysa at August 12th, 2013 12:49 — #13
All the modules use the same structure and validations. Did you change anything in your xampp configuration? Are you prompted to enter the MySQL password when installing new modules? You mention that you have installed DokuWiki, Drupal, Joomla! and WordPress.
Can you try again with another module? If it fails, can you let us know which module did you try and which parameters are you asked to enter in the installer?
mussini at August 12th, 2013 13:24 — #14
thanks for your answer.
Here what I've done step by step:
- opened the .dmg of Magento:
- in the terminal:
- cd /Volumes/Magento\ Module\ 18.104.22.168-2/
- sudo ./BitNami\ Magento\Module.app/Contents/MacOS/installbuilder.sh
- In the installer: next (Welcome) -> next (select components) -> next (installation folder) -> Filled: Login, Real Name, Email, MySQL pwd, Magento pwd (2 times) and then next
An error box appears saying "The installer was not able to connect to the MySQL server. Please make sure MySQL is running."
MySQL is running because it's green in the XAMPP manager and also a ps in the terminal shows it.
This procedure worked for the four modules you listed but not for all the others.
Hope this helps you to understand what I'm doing wrong.
kaysa at August 13th, 2013 13:35 — #15
Can you confirm that you can connect to MySQL with:
$mysql -u -S "/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock" -p
and that using the password that you provide as MySQL password works?
mussini at August 13th, 2013 15:21 — #16
Below I've reported the session you asked.
The strange thing is that the exact same procedure works for 4 modules.
~> /Applications/XAMPP/xamppfiles/bin/mysql -u root -S "/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock" -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.6.12 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
beltran at August 13th, 2013 15:34 — #17
We released a new Magento version this week. Could you try the new module version?
mussini at August 13th, 2013 16:52 — #18
The installation now starts but at the end I get the error below; if I start the module I get a "Database connection error" at the "Configuration" step
Problem running post-install step. Installation may not complete correctly
Error running /Applications/XAMPP/xamppfiles/bin/php -c "/Applications/XAMPP/xamppfiles/etc" "/Applications/XAMPP/xamppfiles/apps/magento/htdocs/install.php" --license_agreement_accepted "yes" --locale "en_US" --timezone "America/Los_Angeles" --default_currency "USD" --db_host "localhost:3306" --db_name "bitnami_magento" --db_user "bn_magento" --db_pass "****" --url "http://192.168.1.113:80/magento" --admin_lastname "Bitnami" --admin_firstname "Manuel Mussini" --admin_email "email@example.com" --admin_username "mussini" --admin_password "****" --encryption_key "" --use_rewrites no --use_secure no --secure_base_url "https://192.168.1.113:443/magento" --use_secure_admin no --enable_charts : child process exited abnormally
beltran at August 14th, 2013 14:14 — #19
It is weird, does Apache also running before installing the module? Thanks for reporting it, we will try to reproduce on our side.
mussini at August 14th, 2013 15:08 — #20
Thank you for looking into it!
All the servers managed by XAMPP were running: MySQL, ProFTPD and Apache.
What about the other BitNami modules? Do I have to wait for their next version to have the installation issue fixed?
next page →