silvermoon — 2013-07-20T02:59:48-04:00 — #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 — 2013-07-22T10:45:00-04:00 — #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 — 2013-07-26T03:23:00-04:00 — #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 — 2013-07-26T08:58:38-04:00 — #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 — 2013-07-26T13:52:37-04:00 — #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 — 2013-07-29T06:42:09-04:00 — #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 — 2013-07-30T02:16:38-04:00 — #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 — 2013-07-30T04:02:04-04:00 — #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 — 2013-08-10T12:35:37-04:00 — #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 — 2013-08-11T06:22:18-04:00 — #10
The last version of the installer fixed my issue.
beltran — 2013-08-11T06:26:51-04:00 — #11
Im glad you fixed the issue. Regards.
mussini — 2013-08-11T06:46:29-04:00 — #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 — 2013-08-12T12:49:52-04:00 — #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 — 2013-08-12T13:24:40-04:00 — #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\ 220.127.116.11-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 — 2013-08-13T13:35:20-04:00 — #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 — 2013-08-13T15:21:31-04:00 — #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 — 2013-08-13T15:34:35-04:00 — #17
We released a new Magento version this week. Could you try the new module version?
mussini — 2013-08-13T16:52:25-04:00 — #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 — 2013-08-14T14:14:41-04:00 — #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 — 2013-08-14T15:08:43-04:00 — #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 →