can't access MySQL on a local server

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

can't access MySQL on a local server

Postby Girafenaine » 15. August 2018 16:05

Hello,

I installed a local server on a linuxmint 19 OS. I used Xampp for linux 7.2.7. After configuration, it worked well for a little website (local only).

But today I cannot use it. I can access localhost/dashboard, so Apache seems to be ok, but I cannot access MySQL. Trying to access my local website, I get an error message : "this website is not available..." and something like "SQLSTATE{HY000} {2002} connection not accepted".

When I launch the server with the command sudo /opt/lampp/lampp start, all is launched (Apache, MySQL and ProFTPD). But when I switch off by the line sudo /opt/lampp/lampp stop, then i get "stopping MySQL... not running". So MySQL is launched, but seems to "crash" just after.

Perhaps this is due to computer switch off without having stopped local server.

Can anyone bring some help to access again MySQL on my local server ?

Kind regards,

Girafenaine
Girafenaine
 
Posts: 1
Joined: 15. August 2018 15:45
XAMPP version: 7.2.7
Operating System: LinuxMint 19

Re: can't access MySQL on a local server

Postby arcanisgk » 27. August 2018 17:07

on start you mysql service are to good but it is down becouse anyone problem onconfig files...
arcanisgk
 
Posts: 10
Joined: 28. August 2015 18:19
Operating System: Ubuntu 15.04 Server Vivid


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 21 guests