1

My apache and xampp servers are running on port 2145 and 16443 respectively.

sudo /opt/lampp/lampp restart
Restarting XAMPP for Linux 1.8.2-5...

XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...not running.
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.

Stopping it says Not running!

sudo /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.8.2-5...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...not running.

I tried setting the socket path in /etc/php5/cli/php.ini as

 mysql.default_socket = /var/run/mysqld/mysqld.sock

My /etc/mysql/my.cnf points to

socket = /var/run/mysqld/mysqld.sock
port = 3306

netstat -vulntp |grep -i mysql gives me

tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      9789/mysqld  

I don't see any errors in the /var/log/mysql/error.log except a few deprecation warnings and notes.

And phpmyadmin was running before the system restart.

3
  • Your mysql server is running on port 3306, not 16443
    – Jenny D
    May 19, 2014 at 9:03
  • Sorry. My xampp is running on port 16443 localhost:16443/xampp May 19, 2014 at 9:07
  • @LakshmiNarayananGuptha I am having the same issue. Were to able to solve this?
    – user427969
    Aug 7, 2014 at 4:13

0

You must log in to answer this question.

Browse other questions tagged .