phpMyAdmin is throwing a #2002 cannot log in to the mysql server phpmyadmin

前端 未结 27 2282
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 14:50

I have installed MySQL server enterprise 5.1 on my local machine and now I want to install phpMyAdmin, but it does not work.

I have unrared phpMyAdmin to my server r

27条回答
  •  死守一世寂寞
    2020-11-27 15:04

    For Ubuntu 14.04 and 16.04, you can apply following commands

    First, check MySQL service is running or not using

    sudo service mysql status

    Now you can see you show a message like this: mysql stop/waiting.

    Now apply command: sudo service mysql restart!

    Now you can see you show a message like this: mysql start/running, process 8313.

    Now go to the browser and logged in as root(username) and root(password) and you will be logged in successfully

提交回复
热议问题