I screw up mysql somehow. Xampp still works and applications do load, there's just no mysql access.
What I did was to install php5-cli and php5-curl, to run php from command line. I know that was stupid, but I was following some tutorial step by step and I "forgot" that I already have php..
I already uninstalled those two packets but now I still have some other mysql instance and I can't stop it. Running "sudo service mysql stop" outputs "unknown service".
- Code: Select all
user@lap:/opt/lampp/var$ sudo /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.8.3-4...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
- Code: Select all
user@lap:/opt/lampp/var$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.3-4...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...ok.
This is the output from "ps -aux | grep mysql":
- Code: Select all
user 4257 0.0 0.1 20152 924 pts/4 S+ 15:14 0:00 grep --color=auto mysql
From this point I have no idea what to do.
How did I mess this up?