#2002 - No connection could be made because the target machine actively refused it. — The server is not responding (or the local server's socket is not correctly configured).
-
I tried to login to phpmyadmin in laragon and this is what i got, what can i do please. "" #2002 - No connection could be made because the target machine actively refused it. — The server is not responding (or the local server's socket is not correctly configured)." 
-
MySQL could not run. You can try installing Laragon in another partition.
-
@administrators how do i recover my db data for the current app i am working on, if i install laragon in another partition? VERY IMPORTANT!!!
-
Oh, Is there any error message?
If not, I guess you must probably shutdown mysqld when there were some mysql transactions.
You can fix this by running MySQL in recovery mode.
Open Terminal and type:mysqld --tc-heuristic-recover=ROLLBACK
Stop the mysqld when it's done.
You should start MySQL normally.
-
I feel that it will help. If not, don't worry. I'm on holiday but I will help you until your data is safe.
-
mysqld --tc-heuristic-recover=ROLLBACK did not work
C:\laragon\www\womoto Tue 11/29/2016 7:54:55.15
λ mysqld --tc-heuristic-recover=ROLLBACK
2016-11-29 7:55:34 6096 [Note] mysqld (mysqld 10.1.9-MariaDB-log) starting as process 7632 ...
-
@udemethegrtman Did you try googling for the error?
It seems some bin log files are corrupted. You can try backing up then delete some of them.
-
apparently i have backed the sql files to a fellow team, so i downloaded the latest laragon and formated the existing laragon root folders, now the new laragon has its own issues with two question i have for you???
- where is phpmyadmin?
- how do i achieve creating virtual hosts because it is not working e.g (wasamar.dev) ERROR: site can be reached.
-
- phpmyadmin is located in etc\apps\phpmyadmin
- Just put any folder in www, Laragon will create correspond entry in hosts file and correspond virtual host file in etc\apache\sites-enabled if they do not exist.
-
@leokhoa Thanks you helped me