Problem accessing MySql database on xampp - mysql

So, i'm using Xampp 1.7.3 on my windows machine to run a server, never had any issues until now.
Somehow, i just "lost" connection with my database. The server can communicate without any problems, but when i try to access by typing "127.0.0.1/phpmyadmin or localhost/phpmyadmin" i just get a page saying that the Site can't be reached.
Already tried to restart the services and the machine itself, nothing worked.
Haven't tried to reinstall xampp simply because i can't kill the server. I need something to fix that WITHOUT reinstalling xampp

Related

WAMP Not Starting

I'm trying to get started with WAMP server on a Windows 10 computer. When I try to launch the WAMP application on the computer, I get an error message that says This application was unable to start correctly (0xc000007b).
The WAMP icon in the taskbar tray is orange, with 2 of 3 services running.
I am still able to access the WAMP dashboard through localhost in my browser.
I've gone through and installed all the required Visual C++ redistributables to no avail.
I've enabled both the .NET frameworks.
I've installed Microsoft DirectX.
I've restarted the computer.
I don't have Skype.
Running as an administrator.
Some of the things I tried might be completely useless, I was just watching a few YouTube videos about how to resolve this error.
It says in 'services.msc' that it's mySQL that isn't running. Only MariaDB and Apache appear in services.msc, but I'm still able to access phpMyAdmin
Does anyone know what could be the issue? I'm just about at the stage of uninstalling WAMP and starting again, or maybe trying XAMPP instead.
UPDATE: I reinstalled WAMP entirely, and now I have a green icon in the taskbar, with all services running, however I am still not able to open the WAMP application as per the above question. Can I use WAMP without using the desktop client?

XAMPP Instalation problems with Mysql and phpmyadmin

I have been having a lot of issues with the proper installation of XAMM for local development. The installation looks OK when completed but then I run apache and works and when I try to access the phpMyAdmin panel it says that it can't connect because of port issues.
I have seen lots of "fixes" on blogs and videos suggesting this that and the other port changes but nothing works. So I want to re-install XAMPP from scratch but I have also had other installs that use "localhost" such as WAMP and BITNAMI. I have already deleted XAMPP, BITNAMI AND WAMP. But when I look in the ***Panel de control\Programas\Programas y características ** to uninstall programs I see that I have other mysql programs in there as in this image:
and my question is if it is safe to uninstall these programs highlighted here so as to clean my OS and be able to re-install XAMPP without further issues of "port x is in use by..."?
I am also aware that I must erase all folder remaining of WAMP XAMPP etc in programs file.

error on setting up windows local server

I am installing XAMPP on my windows to work on a Joomla site, but I am facing an error with MySQl.
Apache works find but I get the following error on MySQL. I've attached the image.
I am not sure what or how I am suppose to make configured ports free.

MySQL is not working after Windows 8.1 update

I have Wamp Server 2.5 installed and it was working fine until my Windows 8.1 update. After the update the Wamp Server has became very slow. I have searched for the solution the whole night and tried every possible solution but no joys :( I re-install wamp, disable IPv6, removed cache, etc. I tried to install Xampp Server then but it has the same issue. I came to know that the issue is with MySQL. Whenever I access my project which requires connection with database it doesn't respond but whenever I access any static page it works normally. Any help would be appreciated!
Thanks in Advance
localhost may be needed to replace with 127.0.0.1 in your program
'Listen 80' need to replace with 'Listen 0.0.0.0:80' in httpd.conf

Can I keep MYSQL and WAMP Server running together?

At first, I use Struts 2 to develop a website in Java web technology. So I installed Apache Tomcat as the localhost server and MYSQL as the database (MYSQL here is the full application from mysql.com, not the packages like XAMPP or WAMP...)
But now I switch to learn a little bit about PHP so I install WAMP full package. When I start all services of WAMP and go to browser and type localhost, everything work fine
But when I go to localhost/phpmyadmin, it seems to connect to the old MYSQL application in my computer (what I've used in Java web). And then I restart computer and use MYSQL Workbench (in the MYSQL application), but now it connects to the database of WAMP package, and I can not connect to the old database (in Java web) anymore
The solution is remove WAMP but I need WAMP for PHP
So I just want to ask how can I use MYSQL application and WAMP package together (MYSQL application for Java web and WAMP package for PHP)?
Thank you and apology for my bad English!
Go to C:\Program Files (x86)\MySQL\MySQL Server 5.1 and open my (Configuration file) and then navigate to
[client]
port=3306
Change this to
[client]
port:3307
This will make phpmyadmin to run on 3306 and Java-Mysql to run on 3307
You can of course keep both XAMPP and WAMP running together keeping in mind that you have changed the default ports for either of it to some other ports rather than 80,443 and 3306, but sometimes it could create conflict as when you install some other third party softwares or enable certain services that run on port 80,443,3306.
The best alternative here would be to install one of the servers inside a virtual machine with network configured as "host-only-adapter" so that from the base machine you could access XAMPP/WAMP installed on the virtual machine by just pointing the ip-address of the virtual machine through a web-browser.
or,
If you want to run both XAMPP and WAMP together on the same machine but access only one of the servers at a time then you could go ahead installing both of them one after another. But, keep in mind that before installing the other server you have to completely stop all the services running from the XAMPP or WAMP control panel then quit the application. After this step you can go ahead installing the other server without changing any configurations or port numbers. This is because in this case we assumed that only one of the servers would be accessed at a time. Hence, before launching the other server one has to completely quit the application that is running currently by stopping all of it's services. If skype is installed then one has to change the default incoming connection ports to other than port 80 and 443.
Like mentioned above, if at all the intention is to access both servers up and running concurrently then taking advantage of a virtual machine would be the best to avoid conflicts and a long-term troubleshoots eventually.
If you messed up changing ports and config files then you could end up with the following error while trying to access phpmyadmin from XAMPP control panel:
**mysql said: Cannot connect: invalid settings. xampp**
note: while launching the servers , run it as administrator else some services will not start properly.
"I TRIED INSTALLING BOTH XAMPP AND WAMP ON WINDOWS 10 AS SUCH AS POINTED BY MANY THREADS I CHANGED THE DEFAULT PORTS FOR MYSQL & APACHE XAMPP AS IT WOULD CONFLICT WITH WAMP ALREADY INSTALLED ONLY ENDING UP UNABLE TO ACCESS PHPMYADMIN FROM XAMPP CONTROL PANEL. THEN REINSTALLED XAMPP WITHOUT CHANGING ANY CONFIGS OR PORTS. STOP THE WAMP SERVICES, QUIT THE APP AND THEN LAUNCH PHPMYADMIN FROM XAMPP CONTROL PANEL. AT LAST IT WORKED!. THE PROCESS LOOKS SHORT THOUGH WHEN IN REALITY IT TOOK ME COUNTLESS HOURS AND PAIN RESEARCHING ON THE WEB AND TESTING FOR A POSSIBLE SOLUTION UNTILL I CAME UP WITH THIS."
Hopes, this quick tips and guides would be helpful.