mysql - Cant start phpmyadmin using xampp localhost -


i have tried solutions posted @ folloing link , has not helped me: phpmyadmin - can't connect - invalid setings - ever since added root password - locked out

the difference never set password. happened upon initial attempt launch phpmyadmin. here config.inc.php file looks like:

/* authentication type */ $cfg['servers'][$i]['auth_type'] = 'http'; $cfg['servers'][$i]['user'] = 'root'; $cfg['servers'][$i]['password'] = ''; /* server parameters */ //$cfg['servers'][$i]['host'] = 'localhost'; //$cfg['servers'][$i]['connect_type'] = 'tcp'; $cfg['servers'][$i]['compress'] = false; $cfg['servers'][$i]['allownopassword'] = false;  /**  * phpmyadmin configuration storage settings.  */  /* user used manipulate storage */ // $cfg['servers'][$i]['controlhost'] = ''; // $cfg['servers'][$i]['controlport'] = ''; $cfg['servers'][$i]['controluser'] = 'pma'; $cfg['servers'][$i]['controlpass'] = '';  /* storage database , tables */ $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]['table_uiprefs'] = 'pma__table_uiprefs'; $cfg['servers'][$i]['tracking'] = 'pma__tracking'; $cfg['servers'][$i]['userconfig'] = 'pma__userconfig'; $cfg['servers'][$i]['recent'] = 'pma__recent'; $cfg['servers'][$i]['users'] = 'pma__users'; $cfg['servers'][$i]['usergroups'] = 'pma__usergroups'; $cfg['servers'][$i]['navigationhiding'] = 'pma__navigationhiding'; $cfg['servers'][$i]['savedsearches'] = 'pma__savedsearches'; $cfg['servers'][$i]['central_columns'] = 'pma__central_columns'; $cfg['servers'][$i]['designer_coords'] = 'pma__designer_coords'; $cfg['servers'][$i]['designer_settings'] = 'pma__designer_settings'; $cfg['servers'][$i]['export_templates'] = 'pma__export_templates'; $cfg['servers'][$i]['favorite'] = 'pma__favorite'; // $cfg['servers'][$i]['favorite'] = 'pma__favorite'; // $cfg['servers'][$i]['users'] = 'pma__users'; // $cfg['servers'][$i]['usergroups'] = 'pma__usergroups'; // $cfg['servers'][$i]['navigationhiding'] = 'pma__navigationhiding'; // $cfg['servers'][$i]['savedsearches'] = 'pma__savedsearches'; // $cfg['servers'][$i]['central_columns'] = 'pma__central_columns'; // $cfg['servers'][$i]['designer_settings'] = 'pma__designer_settings'; // $cfg['servers'][$i]['export_templates'] = 'pma__export_templates'; /* contrib / swekey authentication */ // $cfg['servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';  /**  * end of servers configuration  */ 

finally, have ensured start mysql before attampting run phpmyadmin running following command:

mysql -u root -p 

please help!

if root account has no password, not default change param from

$cfg['servers'][$i]['allownopassword'] = false; 

to

$cfg['servers'][$i]['allownopassword'] = true; 

this allow accounts no password used

however, if base config, have expected xampp's install have set password on root. may need read install instructions check password set root user account

additional suggestion

of course have more 1 mysql server running on system, , doing connect 1 there before, autostarted , therefore grabs port 3306 before start xampp.

did install mysql before coming across xampp?

if so, @ services snapin, , see if have more 1 mysql server service in list. cannot remember if xampp gives mysql specific name other mysql, wampserver user now, been years since use xampp.

if remember root password on other mysql server try that, prove if case.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -