Page 1 of 1

MySQL not "linked" to Apache

PostPosted: 19. November 2013 21:44
by luismartin
I've just installed the last version of XAMPP in Ubuntu 13.10. Everything seems to be ok except for MySQL. I can't access it with phpMyAdmin, and the Status option in the XAMPP menu says MySQL is disabled. However, when I started xampp from the CLI, this is what I got:

Code: Select all
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.


I can even execute mysql from the CLI as root, just typing
mysql

so, it is working! But somehow Apache/PHP don't seem to be aware of it.

What can I do to fix this?

Re: MySQL not "linked" to Apache

PostPosted: 20. November 2013 11:17
by Nobbie
Simply try again - MySQL is started only from "/opt/lampp/lampp start", but it is NOT started automatically after Bitnami Installation (this only starts Apache).

Re: MySQL not "linked" to Apache

PostPosted: 20. November 2013 12:01
by luismartin
That's what I did. I started Xampp from the terminal, like I said, but for some reason Apache/PHP detected MySQL as not running in Status, so I couldn't even enter phpMyAdmin.

Re: MySQL not "linked" to Apache

PostPosted: 20. November 2013 13:33
by Nobbie
I also installed Xampp 1.8.2 on a Linux Mint yesterday and it works out of the box. I dont know whats wrong with your version. Maybe an issue with firewall?

P.S.: Which URL do you use to run Xampp? Try http://localhost as well as http://127.0.0.1