New Project Creating- php & mysql with cli


Topic: New Project Creating- php & mysql with cli

Vamshi Choula pro asked 11 months 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 11 months ago

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


Vamshi Choula pro answered 11 months ago

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


Vamshi Choula pro commented 10 months ago

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


Vamshi Choula pro answered 10 months ago

enter image description here

Sir why xampp mysql is nt working?


Michał Duszak staff answered 10 months 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 pro commented 10 months 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.


FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • User: Pro
  • 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