How to fix XAMPP Shell from crashing - mysql

So I recently installed XAMPP, following a YouTube guide along the way. I click the start actions for Apache and MySQL and everything was going smooth until when I click the Shell icon on the right side of the command panel and the cmd associated with it just opens for a brief second and immediately closes I kept clicking on it hoping for it to work and nope it still just opens for a brief second and closes.
I kept searching for possible solutions online and still, it doesn't solve the issue. I tried tweaking the config of the Apache and MySQL and it still didn't fix it. I also try reinstalling using different XAMPP versions and still the problem persists. I also tried running it as administrator and issue is still there.
Additionally I'm using Windows 10
If anyone knows a possible fix for this I would greatly appreciate it.
Edit: I screen recorded my XAMPP issue, here's the link to that video : https://youtu.be/h-lM250Pqwc

Same issue on Windows 11
Running xampp-control as administrator did the trick. Source
Some alternative solutions:
Run SFC scan
Edit the registry key to stop CMD from closing

Follow these steps:
Open the xampp folder.
Search for xampp_shell.
Right click it and run it as administrator.
That's it!

Related

Mysql For Excel: No Connection Showing

I am having an issue for Mysql for Excel plugin, when I first installed it, it was showing my local connections, etc. I shut the programs and re-opened it and it has refused to show anything since then, it does not show local connection or remote connection - but everything is working well from MYSQL Benchmark, I can see all the connections, etc, but the plugin in excel is just blank grey screen - as shown in the screenshot, I have uninstalled and reinstalled both my excel and the plugin, still giving the same error, any ideas or help will be appreciated
Working solution from https://bugs.mysql.com/bug.php?id=96047
Simply start up Excel, click on File at the top left, click on Options
at the bottom left, select General in the Excel Options dialog and
under User Interface Options select Optimize for Compatibility, click
OK and restart Excel. Your connections should now appear.
Eureka Eureka I found it
The same thing has happened to me. It was working and then the next time no connections. I have spent hours and days and weeks trying to get it to work again. After weeks of trying, I found the solution.
Apparently, Microsoft did a security upgrade to Excel.
Solution:
File
Options
Trust Center
Trust Center Settings....
Uncheck Enable Protected View for files originating from the Internet.
apparently all of Mysql bugs relating to this say that you can fix this by updating Microsoft Office. Go to File > Account > Update Now
I hope that helps

Xampp doesn't work on Mac X

So here is what happens when i run xampp by clicking on the manager-osx.
I click on "manager-osx".
Icon jumps in the dock as if it is starting the service.
Asks for admin password. I enter the password.
It accepts the password, and application keep jumping in the docs for 3-4 times.
The app disappear from the dock.
The issue started after i have quit few processes from the activity monitor.
I am not sure what has affected xampp and can't remember what services i have stopped as there were many.
Solution applied so far:
Restarted my MacBook Pro.
Exit all other application and tried to run xampp.
Made sure no other application is running on port 80.
Removed xampp from applications and tried to reinstalled. Same issue with re-installation process, It asks for admin password and then nothing happens.
search online for any help but nothing helpful found.
I haven't got any experience with XAMMP but MAMP works always fine for me. MAMP has everything I need in terms of functionality.
I would recommend MAMP
If MAMP is not the best solution for you. You can install manualy
APACHE + PHP + MYSQL (It's not so hard)
Just go step by step using tutorial like
This
Manual installation will give you much more controll on your enviroment.
And also you will have better output to attach it here if you can't find a problems.
Of course it's little bit longer than 3 clicks. But on all production servers you need to install environment manually. This knowledge you will use later much more times. You will better understand how all is works and how to find reason of bug.(error)

Blocked DLL Detected: MySQL because of No-Installation Download

This error keeps on appearing whenever I try to create a new schema.
I can't quite understand the instructions. I went to my specified SQL folder but what "zip- unzip" was the instruction talking about? Moreover, it didn't specify what DLL should I look for.
I hope someone can help! Thanks!
You could try to run the MySQL Workbench as Administrator, than it can possibly unblock the dlls automatically.
If not, g to the folder where you have installed MySQL Workbench and use the Explorer Search functionality to search for all *.dll and *.exe. Then right click on each. If the dll/exe is blocked, you see an unblock button on the properties page, press it. You have to repeat this for all dlls/exes.

IDE or Terminal in box empty

I have been playing around with Meteor development using Nitrous.IO Node.JS box.
Since a few days ago when I access either the IDE or Terminal of the box, the IDE or the Terminal that is opened is empty (nothing in console, files tree) and not responding.
In the IDE it seems to be stuck on 'connecting...'.
I have tried to restart and shutdown/start the box, but no luck.
I would appreciate any help or suggestion
Thanks.
Nitrous is an early service, and as of this time seems (in my experience, to still be buggy). Best to confirm service issues with them first.

Can't Access localhost or 127.0.0.1 in wamp

I was using wamp 2.1a for my wordpress blog and a website. It was working fine. Then I caught a google redirect virus. I tried hard to get rid of it, finally i fixed it. Then, suddenly my wamp server stopped working, I mean both the services were running but when I opened localhost or 127.0.0.1, it just kept loading, and went on forever till I closed the browser's tab. Then I upgraded to wamp 2.2a and the problem is still there.
I've also checked the hosts file, tried to change the port to 8080 for apache, but it didn't help. I do not have skype (and never used it) so there's no port 80 conflict. When I restart the services, the apache service starts but the mysql service doesn't. When I click wamp tray menu, click on the remove service for mysql, a message box appears saying - mysqld.exe has stopped working. The only option I have there is close program.
I can't access my blog so I can't so any testing. Please tell me if this happened to you or if you have a solution to this. Any help is appreciated.
Did you try different web browser? I guess it is browser problem, clear your browser cache, might solve your problem.
I have found the following solution in another post here (from Sergiu Butnarasu) which worked for me.
Modify the apache HTTPD.CONF file. Change "Listen 80" to "Listen 0.0.0.0:80 http://forum.wampserver.com/read.php?2,93143