XAMPP MySQL password setting (Can not enter in PHPMYADMIN)

前端 未结 8 1505
失恋的感觉
失恋的感觉 2020-12-24 03:52

Firstly: I am cannot entering PHPMYADMIN at \"localhost:80/phpmyadmin/\". Because when I install MySQL server mysql-5.5.36 with Username :root an

8条回答
  •  天涯浪人
    2020-12-24 04:25

    First Issue: You want to run Mysql server from Mysql and from Xampp also want to browse phpmyadmin so that you can operate database.Then follow the rules:

    From "Xampp/phpmyadmin" directory in config.inc.php file find the below code. And follow the given instructions below. I have tried like this and I was successful to run both localhost/phpMyAdmin on browser, MySQL Command prompt as well as MySQL query browser.

    $cfg['Servers'][$i]['auth_type']    = 'config';
    $cfg['Servers'][$i]['user']         = 'pma';
    $cfg['Servers'][$i]['password']     = '';
    $cfg['Servers'][$i]['controluser']  = 'user_name/root';   
    $cfg['Servers'][$i]['controlpass']  = 'passwaord';
    

    And replace the above each statement with the below each corresponding code.

    $cfg['Servers'][$i]['auth_type']    = 'config';
    $cfg['Servers'][$i]['user']         = 'root';
    $cfg['Servers'][$i]['password']     = 'Muhammad Ashikuzzaman';
    $cfg['Servers'][$i]['controluser']  = 'root';   
    $cfg['Servers'][$i]['controlpass']  = 'Muhammad Ashikuzzaman';
    

    Second Issue: Way 1 : You can quit Skype first. And when Apche server is started then again you can run Skype. If you want to run Apache in another port then replace in xampp/apache/conf/httpd.conf "ServerName localhost:80" by "ServerName localhost:81" At line 184. After that even it may not work. Then replace

    #Listen 0.0.0.0:80
    #Listen [::]:80
    Listen 80 
    

    by

    #Listen 0.0.0.0:81
    #Listen [::]:81
    Listen 81
    

    at line 45

    Way 2 : If you want to use port 80. Then follow this. In Windows 8 “World Wide Publishing Service is using this port and stopping this service will free the port 80 and you can connect Apache using this port. To stop the service go to the “Task manager –> Services tab”, right click the “World Wide Publishing Service” and stop. If you don't find there then go to "Run > services.msc" and again find there and right click the “World Wide Publishing Service” and stop.

    If you didn't find “World Wide Publishing Service” there then go to "Run>>resmon.exe>> Network Tab>>Listening Ports" and see which process is using port 80.

    And from "Overview>>CPU" just Right click on that process and click "End Process Tree". If that process is system that might be a critical issue.

提交回复
热议问题