Posts

Showing posts from 2021

Error in starting MYSQL in XAMPP

If you getting error in starting in mysql in xampp something like this error. Error: MySQL shutdown unexpectedly. 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 If you need more help, copy and post this entire log window on the forums Answer:    Then Follow the step Rename folder mysql/data to mysql/data_old Make a copy of mysql/backup folder and name it as mysql/data Copy all your database folders from mysql/data_old into mysql/data (except mysql, performance_schema , and phpmyadmin folders) Copy mysql/data_old/ibdata1 file into mysql/data folder Start MySQL from XAMPP control pane Enjoy Now 😜😋

Bitbucket repositories | Adding , updating files to git and bitbucket respository

 Here is the inital command for adding files git status = to check list of files need to be update ( it will show i red) FOR ALL NEW FILE git add  <filename> = it will file add to queue to add FOR SINGLE FILE git add <filename> = it will file add to queue to add git commit -m "add some message" = it will add file to git repository git push = this command add files bitbucket repository NOTE: sometime above first code doesn't work. so for that. first run this command " git init " then close the bash window and try again by opening git bash window again and type " git status " it should work