Mysql #2002 error

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Mysql #2002 error

Postby jl2035 » 07. July 2014 14:14

My specs: Linux 3.13.0-24-generic x64, Xubuntu, Xampp 1.8.3-4

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?
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
Operating System: ElementaryOS (Ubuntu)

Re: Mysql #2002 error

Postby Nobbie » 07. July 2014 22:13

jl2035 wrote:How did I mess this up?


Thoroughly.
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: Mysql #2002 error

Postby jl2035 » 07. July 2014 23:01

Seriously?
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
Operating System: ElementaryOS (Ubuntu)

Re: Mysql #2002 error

Postby Nobbie » 08. July 2014 13:43

Yes, that really looks ugly.

If were you, i would do a backup of my home folder, as well to the Xampp folder (/opt/lampp), and finally re-install linux from scratch. Then restore the backuped data and kick off with that fresh install. This sounds more difficult as it is.
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests