Topic: New Project Creating- php & mysql with cli

Vamshi Choula free asked 2 years ago


Expected behavior No any Error with connecting Database.

Actual behavior enter image description here

Resources (screenshots, code snippets etc.)

enter image description here


Michał Duszak staff commented 2 years ago

Is your mysql server running on xampp? Try to uncomment this line in php.ini: extension=php_pdo_mysql.dll


Michał Duszak staff answered 2 years ago


This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues

This thread helps a lot with this issue https://stackoverflow.com/questions/18300377/xampp-apache-error-apache-shutdown-unexpectedly


Vamshi Choula free commented 2 years ago

It should not be apache problem.. apache is starting friend.. mysql is not starting. ok Problem solved . I understood. I changed data to data-old inside mysql in xampp1 and placed newly xampp2(Newly installed) mysql>data folder inside to the xampp1 . Now it is working ok. Thank you.


Vamshi Choula free answered 2 years ago


enter image description here

Sir why xampp mysql is nt working?


Vamshi Choula free answered 2 years ago


Sir Please Respond to me. sir i have posted this on 15 hours ago.. Please urjent sir.


Vamshi Choula free commented 2 years ago

@Michał Duszak Sir My mysql is not starting in xampp..


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Laptop
  • Browser: Google chrome
  • OS: Windows 64-bit
  • Provided sample code: No
  • Provided link: No