How to activate MySQL database?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to activate MySQL database?

Postby matik » 04. March 2014 19:12

I'm looking for help in setting up XAMPP to run with a WordPress module. I am working with Ubuntu 13.10. I successfully installed XAMPP using the sudo chmod +x [PROGRAM] and then sudo ./[PROGRAM] command. However, when I open the control panel and try to start all servers, MySQL Database fails to start while ProFTPD and Apache Web Server start successfully. Under the Status column, MySQL Database says "Starting..." for a long time. Then it says "Stopped". In the Application Log, I get no clues about what went wrong. Here's the text:
Starting all servers...
Starting MySQL Database...

Starting Apache Web Server...
/opt/lampp/apache2/scripts/ : httpd started
Starting ProFTPD...
Checking syntax of configuration file
/opt/lampp/proftpd/scripts/ : proftpd started

Moving on to the localhost display in the web browser, I get confirmation on the welcome screen that I have successfully installed XAMPP for Linux 1.8.3-3. However, on the Status page, I see that MySQL Database is deactivated. (PHP extension »OPcache« and PHP extension »OCI8/Oracle« are also deactivated. The four remaining components -- PHP, Perl, CGI and SSI -- are all activated.) Here's a screenshot:


I've checked the FAQ and looked for README files to explain why MySQL isn't activated or how to make it activated. So far, no luck. Hence, my first post on the support forum.
Posts: 1
Joined: 04. March 2014 18:41
Operating System: Ubuntu 13.10

Re: How to activate MySQL database?

Postby fede » 08. October 2014 16:48

I have the same problem, if you know st about, that?


En esta vista se puede ver que componentes de XAMPP ya han sido iniciadas y funcionan. Si no se ha cambiado nada en la configuración de XAMPP, debieran estar activados MySQL, PHP, Perl, CGI y SSI.


Common Gateway Interface (CGI) ACTIVADO
Server Side Includes (SSI) ACTIVADO

Posts: 1
Joined: 08. October 2014 16:13
Operating System: WINDOWS 8

Re: How to activate MySQL database?

Postby xcipx » 09. October 2014 05:46

I have also a problem while starting MySQL:

InnoDB: Doing recovery: scanned up to log sequence number 1595924
2014-10-09 07:46:43 6436 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
2014-10-09 07:46:43 6436 [Note] InnoDB: 128 rollback segment(s) are active.
2014-10-09 07:46:43 6436 [Note] InnoDB: Waiting for purge to start
2014-10-09 07:46:43 6436 [Note] InnoDB: 5.6.20 started; log sequence number 1595924
2014-10-09 07:46:43 6436 [Note] Server hostname (bind-address): '*'; port: 3306
2014-10-09 07:46:43 6436 [Note] IPv6 is available.
2014-10-09 07:46:43 6436 [Note] - '::' resolves to '::';
2014-10-09 07:46:43 6436 [Note] Server socket created on IP: '::'.
04:46:43 UTC - mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 133778 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x1b420dc8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
111eaa3 mysqld.exe!?get_field@@YAPADPAUst_mem_root@@PAVField@@@Z()
10caef9 mysqld.exe!?init@ACL_PROXY_USER@@QAEXPAUTABLE@@PAUst_mem_root@@@Z()
10cbbda mysqld.exe!?acl_reload@@YADPAVTHD@@@Z()
10cf69f mysqld.exe!?acl_init@@YAD_N@Z()
10226f8 mysqld.exe!?win_main@@YAHHPAPAD@Z()
1022a37 mysqld.exe!?mysql_service@@YAHPAX@Z()
14ae48a mysqld.exe!my_mb_ctype_mb()
75ae338a kernel32.dll!BaseThreadInitThunk()
77de9f72 ntdll.dll!RtlInitializeExceptionChain()
77de9f45 ntdll.dll!RtlInitializeExceptionChain()

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): Connection ID (thread ID): 0

The manual page at contains
information that should help you find out what is causing the crash.

can someone assist?
Posts: 3
Joined: 09. October 2014 05:43
Operating System: win7

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests