<?php
/** This is needed for cookie based authentication to encrypt password in cookie*/
$cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
/** Servers configuration*/
$i = 0;
/** First server*/
$i++;
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';
et lorsque je lance mysql sur xampp panel j'obtiens :
17:53:19 [mysql] Error: MySQL shutdown unexpectedly.
17:53:19 [mysql] This may be due to a blocked port, missing dependencies,
17:53:19 [mysql] improper privileges, a crash, or a shutdown by another method.
17:53:19 [mysql] Press the Logs button to view error logs and check
17:53:19 [mysql] the Windows Event Viewer for more clues
17:53:19 [mysql] If you need more help, copy and post this
17:53:19 [mysql] entire log window on the forums