Page 1 of 1

Unable to stop MySql Service from...

PostPosted: 10. October 2008 03:01
by JasonG
I added a password to the pma account and now i'm unable to stop MySql Service from the XAMPP Control Panel Application

Edited Files
C:\xampp\mysql_stop.bat
Code: Select all
@echo off
echo Mysql shutdowm ...
mysql\bin\mysqladmin --user=pma --password=***** shutdown

C:\xampp\phpMyAdmin\config.inc.php
Code: Select all
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '*****';
$cfg['Servers'][$i]['extension'] = 'mysql';

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '*****';


I can stop the MySql Service from mysql_stop.bat, but not from the Control Panel

Thanks for any help

Re: Unable to stop MySql Service from...

PostPosted: 10. October 2008 03:15
by Sharley
JasonG wrote:
Code: Select all
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '*****';


No password is required for user pma and should be removed, then restart MySQL so the changes will be taken into account.

Read this thread if it helps understanding why no password is required for user pma:
http://community.apachefriends.org/f/viewtopic.php?t=31516