Xampp phpMyAdmin error when I try login

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

Xampp phpMyAdmin error when I try login

Postby eronardiaras » 29. February 2012 13:45

I am a beginer Xampp user.
- I installed the Xampp (Windows Xp, Xampp 1.7.7)
- Open: http://localhost/phpmyadmin/
- Type: Username: "root" passsword: ""
- Error:
"#1045 Cannot log in to the MySQL server"
"Connection for controluser as defined in your configuration failed."

The Apache and the MySQL are running as service.
My config.inc.php:
Code: Select all
<?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'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

//$cfg['Servers'][$i]['port'] = '13306';

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

/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';

/*
 * End of servers configuration
 */

?>


What is the wrong??? Please help me...
eronardiaras
 
Posts: 3
Joined: 29. February 2012 13:39
Operating System: Windows Xp and Windows 7

Re: Xampp phpMyAdmin error when I try login

Postby hackattack142 » 01. March 2012 00:05

is there a reason you are trying to use root as the control user instead of the standard pma?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Xampp phpMyAdmin error when I try login

Postby eronardiaras » 01. March 2012 08:41

I tried the pma, but same...

And I install the xampp a Windows 7. And working!
Now I reinstall on Windows Xp, and the result:
Image

Image
eronardiaras
 
Posts: 3
Joined: 29. February 2012 13:39
Operating System: Windows Xp and Windows 7

Re: Xampp phpMyAdmin error when I try login

Postby eronardiaras » 01. March 2012 09:40

It is working! Another mysql service was run... I uninstall the xampp and closed the another mysql service and reinstall the xampp. And it is working now!
:D
eronardiaras
 
Posts: 3
Joined: 29. February 2012 13:39
Operating System: Windows Xp and Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 89 guests