Unable to stop MySql Service from...

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

Unable to stop MySql Service from...

Postby JasonG » 10. October 2008 03:01

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
JasonG
 
Posts: 3
Joined: 09. October 2008 06:03

Re: Unable to stop MySql Service from...

Postby Sharley » 10. October 2008 03:15

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
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 61 guests